Re: [PATCH *] rmap VM, version 12

Andrea Arcangeli (andrea@suse.de)
Thu, 24 Jan 2002 04:46:57 +0100


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/