Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Wednesday, August 27, 2008 - 12:02 pm

_PAGE_SPECIAL is overloading _PAGE_UNUSED1.  Does it really leave
_PAGE_UNUSED1 available for other uses, or does it become an exclusive
user of that flag.  Under what circumstances can they be shared?

arch/x86/mm/pageattr-test.c is now using _PAGE_UNUSED1 as the flag used
to make sure that huge pages are shattered properly (previously it used
_PAGE_GLOBAL).  Is that going to clash with _PAGE_SPECIAL?

In other words, should we drop _PAGE_UNUSED1 altogether, or at least
define how the its different users can coexist?

Am I right in supposing that _PAGE_SPECIAL can only be set on user pages?

(Also, "SPECIAL" is awfully generic.  Was there really no more
descriptive name for this?)

    J
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1, Jeremy Fitzhardinge, (Wed Aug 27, 12:02 pm)
Re: Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1, Jeremy Fitzhardinge, (Wed Aug 27, 5:47 pm)