From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from penguin.e-mind.com (penguin.e-mind.com [195.223.140.120]) by kvack.org (8.8.7/8.8.7) with ESMTP id JAA27310 for ; Wed, 7 Apr 1999 09:42:49 -0400 Date: Wed, 7 Apr 1999 15:42:28 +0200 (CEST) From: Andrea Arcangeli Subject: Re: [patch] only-one-cache-query [was Re: [patch] arca-vm-2.2.5] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Mark Hemment , Chuck Lever Cc: linux-kernel@vger.rutgers.edu, linux-mm@kvack.org, Linus Torvalds , "Stephen C. Tweedie" List-ID: On Wed, 7 Apr 1999, Andrea Arcangeli wrote: >I would ask Chuck to bench this my new code (it should be an obvious >improvement). Don't try it!! I have a bug in the code that is corrupting the cache (noticed now). I am working on a fix now. I just noticed that kmem_cache_reap can theorically sleep in down() so here I moved the cookie++ in do_try_to_free_pages(), it will be less finegrined but safer... But I still have corruption so I am looking at filemap.c now... BTW, why kmem_cache_reap() need a serializing semaphore? Andrea Arcangeli -- To unsubscribe, send a message with 'unsubscribe linux-mm my@address' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://humbolt.geo.uu.nl/Linux-MM/