Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 19 Mar 2001 18:28:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 19 Mar 2001 18:28:29 -0500 Received: from neon-gw.transmeta.com ([209.10.217.66]:17676 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 19 Mar 2001 18:28:13 -0500 Date: Mon, 19 Mar 2001 15:27:20 -0800 (PST) From: Linus Torvalds To: Manfred Spraul cc: Rik van Riel , Subject: Re: 3rd version of R/W mmap_sem patch available In-Reply-To: <001201c0b0ca$30eb1910$5517fea9@local> 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 Tue, 20 Mar 2001, Manfred Spraul wrote: > > Rik, did you check that {pte,pmd}_alloc are thread safe? At least in > 2.4.2 they aren't (include/asm-i386/pgalloc.h), and your patch doesn't > touch pgalloc. Excellent point. We used to do all the looping and re-trying, but it got ripped out a long time ago (and in any case, it historically didn't do SMP, so the old code doesn't really work). 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/