On Tue, 13 May 2008 13:43:55 -0400
Lee Schermerhorn <Lee.Schermerhorn@hp.com> wrote:
No, this patch only removes a page from the swap cache that is mapped
by one process. The function page_mapped() returns either 1 or 0, not
the same as page_mapcount().
I am not sure if trying to handle swap cache pages that are mapped by
multiple processes could get us into other corner cases and think that
we should probably try to stick to the safe thing for now.
Besides, shouldn't anonymous shared pages be COW and relatively rare?
--
All Rights Reversed
--