Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 30 Oct 2000 18:06:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 30 Oct 2000 18:06:12 -0500 Received: from neon-gw.transmeta.com ([209.10.217.66]:519 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 30 Oct 2000 18:06:03 -0500 Date: Mon, 30 Oct 2000 15:05:43 -0800 (PST) From: Linus Torvalds To: Alexander Viro cc: Kernel Mailing List Subject: Re: [PATCH] Re: test10-pre7 In-Reply-To: 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 On Mon, 30 Oct 2000, Alexander Viro wrote: > > [ sync_page brokenness ] > > To elaborate: the thing is called if we get a contention on the page lock. Ok, sync_page() looks like a broken design, but I suspect that for expediency the simplest fix is to just make the NFS sync_page() (re-)check for "mapping == NULL", and let it be at that. Avoid the NULL pointer dereference (very small window already). We should probably in the long run make "page->buffers" be a more generic thing, and let NFS use it as a wb-info thing, and be done with it. That's obviously not 2.4.x material, though. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/