linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* cpu_vm_mask checks in ARM flush functions
@ 2009-10-24  4:03 muni anda
  2009-10-24 11:10 ` Russell King - ARM Linux
  0 siblings, 1 reply; 12+ messages in thread
From: muni anda @ 2009-10-24  4:03 UTC (permalink / raw)
  To: linux-arm-kernel

I was going though the cache flush functions in arch/arm/mm/flush.c
and found that cpu_isset() is used at a lot of places. I couldn't
understand the reason why there is a need for cpu_vm_mask checks? My
understanding was that those functions will be executed on the CPU for
which the cpu_mask is already set (in switch_mm call). Is there a
different calling sequence that I am missing?

Can someone please the need for those checks (For example
flush_ptrace_access() function running on vipt_non_aliasing caches).

Thanks,
-Muni

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

end of thread, other threads:[~2009-10-28 16:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24  4:03 cpu_vm_mask checks in ARM flush functions muni anda
2009-10-24 11:10 ` Russell King - ARM Linux
2009-10-26 10:22   ` Catalin Marinas
2009-10-26 10:51     ` Russell King - ARM Linux
2009-10-26 11:15       ` Catalin Marinas
2009-10-26 11:19         ` Russell King - ARM Linux
2009-10-26 11:59           ` Catalin Marinas
2009-10-26 12:15             ` Russell King - ARM Linux
2009-10-26 18:01               ` Catalin Marinas
2009-10-26 18:27                 ` muni anda
2009-10-28 16:34                   ` Catalin Marinas
2009-10-26 19:13                 ` Russell King - ARM Linux

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).