Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Jul 2002 00:24:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Jul 2002 00:24:27 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:25348 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 29 Jul 2002 00:24:27 -0400 Date: Sun, 28 Jul 2002 21:28:32 -0700 (PDT) From: Linus Torvalds To: Andrew Morton cc: "David S. Miller" , Subject: Re: [patch 2/13] remove pages from the LRU in __free_pages_ok() In-Reply-To: <3D44C3A9.982C0205@zip.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 719 Lines: 22 On Sun, 28 Jul 2002, Andrew Morton wrote: > > I don't think it can happen in 2.4. In the truncate case, > the page is taken off the LRU by hand. If do_flushpage() > failed then the buffers still have a ref on the page, which > is undone in shrink_cache(), inside pagemap_lru_lock. > > So, probably safe, but way too subtle. That was by no means "subtle", it was all very much "design". Just undo the broken patch by Rik, and we should all be home free again. Linus - 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/