linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Why does unmap_area_sections() depend on !CONFIG_SMP?
@ 2013-10-01  9:59 Joonsoo Kim
  2013-10-01 18:23 ` Nicolas Pitre
  0 siblings, 1 reply; 3+ messages in thread
From: Joonsoo Kim @ 2013-10-01  9:59 UTC (permalink / raw)
  To: linux-arm-kernel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-02  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01  9:59 Why does unmap_area_sections() depend on !CONFIG_SMP? Joonsoo Kim
2013-10-01 18:23 ` Nicolas Pitre
2013-10-02  5:05   ` 김준수

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).