Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 9 Jul 2001 16:48:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 9 Jul 2001 16:48:04 -0400 Received: from neon-gw.transmeta.com ([209.10.217.66]:28425 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 9 Jul 2001 16:47:51 -0400 Date: Mon, 9 Jul 2001 13:46:53 -0700 (PDT) From: Linus Torvalds To: Christoph Rohland cc: Mike Galbraith , Rik van Riel , Jeff Garzik , Daniel Phillips , linux-kernel Subject: Re: VM in 2.4.7-pre hurts... 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 9 Jul 2001, Christoph Rohland wrote: > > No, it does matter. It prevents races against getpage. No it doesn't. We have the page locked. And if somebody does "getpage()" and doesn't check for the page lock, then that test _still_ doesn't prevent races, because the getpage might happen just _after_ the "atomic_read()". As it stands now, that atomic_read() does _nothing_. If you think something depends on it, then that something is already buggy. 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/