This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Fri Jul 25 22:29:56 2008 Received: from spaans.ds9a.nl (adsl-xs4all.ds9a.nl [213.84.159.51]) by kylie.puddingonline.com (8.11.6/8.11.6) with SMTP id g8IGw8X16169 for ; Wed, 18 Sep 2002 18:58:09 +0200 Received: (qmail 18485 invoked from network); 18 Sep 2002 07:21:39 -0000 Received: from unknown (HELO spaans.ds9a.nl) (3ffe:8280:10:360:202:44ff:fe2a:a1dd) by mayo.ipv6.ds9a.nl with SMTP; 18 Sep 2002 07:21:39 -0000 Received: (qmail 31767 invoked by uid 1000); 17 Sep 2002 21:05:51 -0000 Received: (maildatabase); juh Received: (qmail 1373 invoked by alias); 8 Jan 2002 06:34:07 -0000 Received: (qmail 1370 invoked from network); 8 Jan 2002 06:34:06 -0000 Received: from unknown (HELO dipsaus.ds9a.tudelft.nl) (::ffff:10.0.0.202) by spaans.ds9a.nl with SMTP; 8 Jan 2002 06:34:06 -0000 Received: (qmail 31538 invoked from network); 8 Jan 2002 05:31:45 -0000 Received: from unknown (HELO vger.kernel.org) (::ffff:12.107.208.194) by hinterlink.xs4all.nl with SMTP; 8 Jan 2002 05:31:45 -0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 8 Jan 2002 00:28:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 8 Jan 2002 00:27:54 -0500 Received: from [202.54.26.202] ([202.54.26.202]:18595 "EHLO hindon.hss.co.in") by vger.kernel.org with ESMTP id ; Tue, 8 Jan 2002 00:27:44 -0500 Received: from sandesh.hss.hns.com (sandesh [139.85.242.35]) by hindon.hss.co.in (8.10.0/8.10.0) with SMTP id g085SnE03963 for ; Tue, 8 Jan 2002 10:58:49 +0530 (IST) Received: by sandesh.hss.hns.com(Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) id 65256B3B.001DF853 ; Tue, 8 Jan 2002 10:57:21 +0530 X-Lotus-FromDomain: HSS From: alad@hss.hns.com To: linux-kernel@vger.kernel.org Message-Id: <65256B3B.001DEEA2.00@sandesh.hss.hns.com> Date: Tue, 8 Jan 2002 10:51:24 +0530 Subject: [PATCH] locked page handling in shrink_cache() : revised Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org X-Spam-Tag: 1 Lines: 36 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 --- vmscan_orig.c Mon Jan 7 11:47:43 2002 +++ vmscan.c Mon Jan 7 11:49:07 2002 @@ -387,6 +387,8 @@ wait_on_page(page); page_cache_release(page); spin_lock(&pagemap_lru_lock); + list_del(&page->lru); + list_add(&page->lru,inactive_list.prev); } continue; }  - 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/