Re: [RFC PATCH 0/5] Use an alternative to _PAGE_PROTNONE for _PAGE_NUMA v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 9, 2014 at 4:34 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>
> How painful would it be to get rid of _PAGE_NUMA entirely?  Page bits
> are a highly precious commodity and saving one would be valuable.

I don't think _PAGE_NUMA is a problem. It's only set when the page is
not present, so we have tons of bits then.

Now, that's still inconvenient for the 32-bit pte case, because we do
*not* have tons of bits for non-present cases since we need them for
the swap indexes.

This is different from _PAGE_SOFT_DIRTY, which we do need for both
present and swapped-out entries.

Or am I missing something?

            Linus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]