[PATCH] leave truncate's orphaned pages on the LRU
authorAndrew Morton <akpm@zip.com.au>
Fri, 19 Jul 2002 04:08:49 +0000 (21:08 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 19 Jul 2002 04:08:49 +0000 (21:08 -0700)
commitfa08cc8377bf0942822c468cf26581012e69c9c9
tree6e5626d90bec6b1925ab7c742a2ea011977db9ac
parentc48c43e6ed41a3bcec0155e8e4b8440a9a769a0a
[PATCH] leave truncate's orphaned pages on the LRU

Fix to the page reclaim code from Rik.

Anonymous pages which have buffers arise when
truncate_complete_page()'s call to ->releasepage() failed.  Those pages
may still be mapped into process address spaces.

We should not remove them from the LRU, because that makes them
unswappable and they hang around until process exit.
mm/vmscan.c