aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2013-04-23 12:35:02 +0100
committerSteve Capper <steve.capper@linaro.org>2013-06-14 09:33:47 +0100
commit3212b535f200c85b5a67cbfaea18431da71b5c72 (patch)
tree4ae2cd05ea3fc8b7358806cb34fd2ab7b562fc40 /tools
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e (diff)
mm: hugetlb: Copy huge_pmd_share from x86 to mm.
Under x86, multiple puds can be made to reference the same bank of huge pmds provided that they represent a full PUD_SIZE of shared huge memory that is aligned to a PUD_SIZE boundary. The code to share pmds does not require any architecture specific knowledge other than the fact that pmds can be indexed, thus can be beneficial to some other architectures. This patch copies the huge pmd sharing (and unsharing) logic from x86/ to mm/ and introduces a new config option to activate it: CONFIG_ARCH_WANTS_HUGE_PMD_SHARE Signed-off-by: Steve Capper <steve.capper@linaro.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions