[PATCH] [errata] locked page handling in shrink_cache

alad@hss.hns.com
Mon, 7 Jan 2002 12:27:21 +0530


--0__=WBXISaANvUjcTwNF6f8iONRoiSSz8Nre8VKiI0lCEZ42NYMxahR8Oz9B
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline

please ignore previous patch ...
----

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)

--0__=WBXISaANvUjcTwNF6f8iONRoiSSz8Nre8VKiI0lCEZ42NYMxahR8Oz9B
Content-type: application/octet-stream;
name="vmscan.c-2.4.16"
Content-Disposition: attachment; filename="vmscan.c-2.4.16"
Content-transfer-encoding: base64

LS0tIHZtc2Nhbl9vcmlnLmMJTW9uIEphbiAgNyAxMTo0Nzo0MyAyMDAyCisrKyB2bXNjYW4uYwlN
b24gSmFuICA3IDExOjQ5OjA3IDIwMDIKQEAgLTM4Nyw2ICszODcsOCBAQAogCQkJCXdhaXRfb25f
cGFnZShwYWdlKTsKIAkJCQlwYWdlX2NhY2hlX3JlbGVhc2UocGFnZSk7CiAJCQkJc3Bpbl9sb2Nr
KCZwYWdlbWFwX2xydV9sb2NrKTsKKwkJCQlsaXN0X2RlbCgmcGFnZS0+bHJ1KTsKKwkJCQlsaXN0
X2FkZCgmcGFnZS0+bHJ1LGluYWN0aXZlX2xpc3QucHJldik7CiAJCQl9CiAJCQljb250aW51ZTsK
IAkJfQo=

--0__=WBXISaANvUjcTwNF6f8iONRoiSSz8Nre8VKiI0lCEZ42NYMxahR8Oz9B--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/