Re: [PATCH] mmu notifiers #v5
From: Christoph Lameter
Date: Mon Feb 04 2008 - 14:09:22 EST
On Sun, 3 Feb 2008, Andrea Arcangeli wrote:
> > Right but that pin requires taking a refcount which we cannot do.
>
> GRU can use my patch without the pin. XPMEM obviously can't use my
> patch as my invalidate_page[s] are under the PT lock (a feature to fit
> GRU/KVM in the simplest way), this is why an incremental patch adding
> invalidate_range_start/end would be required to support XPMEM too.
Doesnt the kernel in some situations release the page before releasing the
pte lock? Then there will be an external pte pointing to a page that may
now have a different use. Its really bad if that pte does allow writes.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/