linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1
@ 2008-08-27 19:02 Jeremy Fitzhardinge
  2008-08-28  0:32 ` Nick Piggin
  0 siblings, 1 reply; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2008-08-27 19:02 UTC (permalink / raw)
  To: Nick Piggin
  Cc: Ingo Molnar, Hugh Dickens, Linux Kernel Mailing List,
	Andrew Morton, Linux Memory Management List

_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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-28  1:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 19:02 Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1 Jeremy Fitzhardinge
2008-08-28  0:32 ` Nick Piggin
2008-08-28  0:47   ` Jeremy Fitzhardinge
2008-08-28  1:00     ` Nick Piggin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox