x86: PAT: add follow_pfnmp_pte routine to help tracking pfnmap pages - v3
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>
Thu, 18 Dec 2008 19:41:28 +0000 (11:41 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Dec 2008 21:30:15 +0000 (13:30 -0800)
commite121e418441525b5636321fe03d16f0193ad218e
treed9f54fef9c4f137c2e8327edbf3ba8110dfb968d
parent3c8bb73ace6249bd089b70c941440441940e3365
x86: PAT: add follow_pfnmp_pte routine to help tracking pfnmap pages - v3

Impact: New currently unused interface.

Add a generic interface to follow pfn in a pfnmap vma range. This is used by
one of the subsequent x86 PAT related patch to keep track of memory types
for vma regions across vma copy and free.

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>
include/linux/mm.h
mm/memory.c