]> git.baikalelectronics.ru Git - kernel.git/commit
x86: track memtype for RAM in page struct
authorSuresh Siddha <suresh.b.siddha@intel.com>
Wed, 24 Sep 2008 15:53:33 +0000 (08:53 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Oct 2008 17:29:18 +0000 (19:29 +0200)
commitf2edf43435953966ab7c13333dbcdc1f7f6b19df
tree3a99406988d1e8643b91840614cfd3340408a42f
parentbfe20d33554c2fa47cb8b29e66d5c958f03611a2
x86: track memtype for RAM in page struct

Track the memtype for RAM pages in page struct instead of using the
memtype list. This avoids the explosion in the number of entries in
memtype list (of the order of 20,000 with AGP) and makes the PAT
tracking simpler.

We are using PG_arch_1 bit in page->flags.

We still use the memtype list for non RAM pages.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/ioremap.c
arch/x86/mm/pat.c
include/asm-x86/cacheflush.h
include/asm-x86/page.h