]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/thp: Don't recompute vsid and ssize in loop on invalidate
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 13 Aug 2014 07:01:58 +0000 (12:31 +0530)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 13 Aug 2014 08:20:38 +0000 (18:20 +1000)
commitfa1f8ae80f8bb996594167ff4750a0b0a5a5bb5d
treef2ca5e2cde1b9d9d9fbe03316231db8eda125de2
parentb0aa44a3dfae3d8f45bd1264349aa87f87b7774f
powerpc/thp: Don't recompute vsid and ssize in loop on invalidate

The segment identifier and segment size will remain the same in
the loop, So we can compute it outside. We also change the
hugepage_invalidate interface so that we can use it the later patch

CC: <stable@vger.kernel.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/machdep.h
arch/powerpc/mm/hash_native_64.c
arch/powerpc/mm/pgtable_64.c
arch/powerpc/platforms/pseries/lpar.c