]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Add a parameter to disable 1TB segs
authorOliver O'Halloran <oohall@gmail.com>
Tue, 5 Jul 2016 01:43:21 +0000 (11:43 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 5 Jul 2016 13:58:54 +0000 (23:58 +1000)
commit14087536ed5c1c8252cac20de52686f16f783f5d
tree968e11ff8ad806d4b2e4105c181460033e295df9
parentcbe3545625054144820112dfd6b5811ed8fb4b15
powerpc/mm: Add a parameter to disable 1TB segs

This patch adds the kernel command line parameter "no_tb_segs" which
forces the kernel to use 256MB rather than 1TB segments. Forcing the use
of 256MB segments makes it considerably easier to test code that depends
on an SLB miss occurring.

Suggested-by: Michael Neuling <mikey@neuling.org>
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/kernel-parameters.txt
arch/powerpc/mm/hash_utils_64.c