public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mmu notifier calls in apply_to_page_range()
@ 2010-07-09 15:06 Jeremy Fitzhardinge
  2010-07-09 15:12 ` Andrea Arcangeli
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Fitzhardinge @ 2010-07-09 15:06 UTC (permalink / raw)
  To: Andrea Arcangeli; +Cc: Stefano Stabellini, Linux Kernel Mailing List

I just noticed that the original mmu notifier change (cddb8a5c14a) adds
calls to mmu_notifier_invalidate_range_start/end to
apply_to_page_range().  This doesn't seem correct to me, since
apply_to_page_range can perform arbitrary operations to the range of
pages, not just invalidation of the pages.  It seems to me that the
appropriate mmu notifiers should be called either around the call to
apply_to_page_range(), or from within the callback function.

Andrea, what's the rationale for mmu_notifier_invalidate_range_start/end
here?

Thanks,
    J

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

end of thread, other threads:[~2010-07-09 18:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-09 15:06 mmu notifier calls in apply_to_page_range() Jeremy Fitzhardinge
2010-07-09 15:12 ` Andrea Arcangeli
2010-07-09 15:51   ` Jeremy Fitzhardinge
2010-07-09 16:22     ` Andrea Arcangeli
2010-07-09 17:30       ` Jeremy Fitzhardinge
2010-07-09 17:36         ` Andrea Arcangeli
2010-07-09 17:41           ` Jeremy Fitzhardinge
2010-07-09 18:31             ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox