2002-01-07 06:28:35

by alad

[permalink] [raw]
Subject: [PATCH] locked page handling in shrink_cache()



Whenever the shrink_cache wakes up after a laundered page in unlocked, it should
move that page to the end of inactive list so that
the page can be freed immediately and shrink_cache dosen't have to wait for
complete list scan before freeing this page.

The patch is created against standard redhat 7.1 distribution 2.4.16 kernel.
Let me know if I need to create it for a different kernel release.

Regards
Amol
(See attached file: vmscan.c-2.4.16)


Attachments:
(No filename) (451.00 B)
vmscan.c-2.4.16 (288.00 B)
Download all attachments