]> 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)
commit47fc9c7ddb8ddbd05387da736a2ec9ebec69ff36
tree968e11ff8ad806d4b2e4105c181460033e295df9
parent20116c28b3b6551d59d4864f0449b903eafc97b8
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