Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 23 Jan 2002 22:46:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 23 Jan 2002 22:46:24 -0500 Received: from penguin.e-mind.com ([195.223.140.120]:33645 "EHLO penguin.e-mind.com") by vger.kernel.org with ESMTP id ; Wed, 23 Jan 2002 22:46:13 -0500 Date: Thu, 24 Jan 2002 04:46:57 +0100 From: Andrea Arcangeli To: "David S. Miller" Cc: riel@conectiva.com.br, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH *] rmap VM, version 12 Message-ID: <20020124044657.E20533@athlon.random> In-Reply-To: <20020123.104438.71552152.davem@redhat.com> <20020123.110624.93021436.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.12i In-Reply-To: <20020123.110624.93021436.davem@redhat.com>; from davem@redhat.com on Wed, Jan 23, 2002 at 11:06:24AM -0800 X-GnuPG-Key-URL: http://e-mind.com/~andrea/aa.gnupg.asc X-PGP-Key-URL: http://e-mind.com/~andrea/aa.asc Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 23, 2002 at 11:06:24AM -0800, David S. Miller wrote: > On Wed, 23 Jan 2002, David S. Miller wrote: > > > The problem is that when vmalloc() or whatever kernel mappings change > > you have to update all the quicklist page tables to match. > > Actually, this is just using the pte_free_fast() and > {get,free}_pgd_fast() functions on non-pae machines. > > Rofl, you can't just do that. The page tables cache caches the kernel > mappings and if you don't update them properly on SMP you die. the cache we're talking about here cannot cache anything, whatever is in this cache must contain no information at all, otherwise the kernel would crash anyway immediatly. Such code was disabled for no good reason and there was nothing to fix there. Andrea - 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/