Why does unmap_area_sections() depend on !CONFIG_SMP?
Joonsoo Kim
iamjoonsoo.kim at lge.com
Tue Oct 1 05:59:55 EDT 2013
Hello, Russell.
I looked at ioremap code in arm tree and found that unmap_area_sections()
is enabled only if !CONFIG_SMP. I can't understand the comments
above this function and it comes from you. Could you elaborate more
on this?
I guess that flush_cache_vunmap() before clearing page table and
flush_tlb_kernel_range() after clearing page table is safe enough to cache
consistency regardless CONFIG_SMP configuration. I think that 4K vunmap()
also depends on this flushing logic.
Please let me know what I am missing here.
Thanks.
More information about the linux-arm-kernel
mailing list