Re: [PATCH 0 of 8] x86: use PTE_MASK consistently

From: Jeremy Fitzhardinge
Date: Tue May 20 2008 - 09:47:48 EST

Hugh Dickins wrote:
I'll leave it to you and Linus whether your way of defining PTE_MASK is
satisfactory as is, or needs to be improved to his way. I've not tried
his suggestion of doing the _PAGE_BIT definitions: certainly it's
seemed odd to me that they were defined with L, but I've little
appetite to mess around with them now myself.

Yes, well, that was me too, with the intention of making ~_PAGE_FOO generate an appropriately sized mask. I guess it would be better to use pteval_t these days.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at