]> err.no Git - linux-2.6/commit
x86: Add a debugfs interface to dump PAT memtype
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Fri, 18 Jul 2008 23:08:14 +0000 (16:08 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 19 Jul 2008 00:22:05 +0000 (17:22 -0700)
commitfec0962e0bed407927b9ff54bb0596a3ab7e4b61
treeca63a7abf2a02871ee12d395f9ce0d457132cc6a
parentae79cdaacb5599781f8bb49f4bdd5723029669cf
x86: Add a debugfs interface to dump PAT memtype

Add a debugfs interface to list out all the PAT memtype reservations.
Appears at debugfs x86/pat_memtype_list and output format is
type @ <start addr>-<end addr>

We do not hold the lock while printing the entire list. So, the list may not be
a consistent copy in case where regions are getting added or deleted
at the same time.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/mm/pat.c