Re: page allocation/attributes question (i386/x86_64 specific)

From: Andi Kleen
Date: Thu Jun 30 2005 - 11:17:37 EST


On Tue, Jun 28, 2005 at 03:16:51PM -0500, Stuart_Hayes@xxxxxxxx wrote:
> >> set and isn't executable. And, since PAGE_KERNEL (with _PAGE_NX set)
> >> didn't match the original pages attributes, the 512 PTEs weren't
> >> reverted back into a large page. (Also, __change_page_attr() did
> >> *another* get_page() on the page containing these 512 PTEs, so now
> >> the page_count has gone up to 3, instead of going back down to 1 (or
> >> staying at 2).)
> >
> > That should be already fixed.
>
> It doesn't appear to be fixed (in the i386 arch). The

I only fixed it for x86-64 correct. Does it work for you on x86-64?

If yes then the changes could be brought over.

What do you all need this for anyways?

-Andi
-
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/