summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rsem.h
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2012-10-25 14:16:32 +0200
committerMel Gorman <mgorman@suse.de>2012-12-11 15:42:44 +0100
commit4b10e7d562c90d0a72f324832c26653947a07381 (patch)
tree733e0fc3ac3fdfe27a312bc72e4ffb07bbf0aa56 /lib/locking-selftest-rsem.h
parentmm: mempolicy: Add MPOL_MF_LAZY (diff)
downloadlinux-4b10e7d562c90d0a72f324832c26653947a07381.tar.xz
linux-4b10e7d562c90d0a72f324832c26653947a07381.zip
mm: mempolicy: Implement change_prot_numa() in terms of change_protection()
This patch converts change_prot_numa() to use change_protection(). As pte_numa and friends check the PTE bits directly it is necessary for change_protection() to use pmd_mknuma(). Hence the required modifications to change_protection() are a little clumsy but the end result is that most of the numa page table helpers are just one or two instructions. Signed-off-by: Mel Gorman <mgorman@suse.de>
Diffstat (limited to 'lib/locking-selftest-rsem.h')
0 files changed, 0 insertions, 0 deletions