summaryrefslogtreecommitdiffstats
path: root/drivers/sbus
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2009-07-10 09:57:38 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-08-26 15:41:24 -0700
commitf58417409603d62f2eb23db4d2cf6853d84a1698 (patch)
tree0668a6c4ebeda74217e00b2f8918982ae329efb6 /drivers/sbus
parent46cf98cdaef5471926010b5bddf84c44ec177fdd (diff)
downloadtalos-op-linux-f58417409603d62f2eb23db4d2cf6853d84a1698.tar.gz
talos-op-linux-f58417409603d62f2eb23db4d2cf6853d84a1698.zip
x86, pat: Use page flags to track memtypes of RAM pages
Change reserve_ram_pages_type and free_ram_pages_type to use 2 page flags to track UC_MINUS, WC, WB and default types. Previous RAM tracking just tracked WB or NonWB, which was not complete and did not allow tracking of RAM fully and there was no way to get the actual type reserved by looking at the page flags. We use the memtype_lock spinlock for atomicity in dealing with memtype tracking in struct page. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud