]> git.baikalelectronics.ru Git - kernel.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)
commitd09e55a2c8d65232451b25d895632cd3d23e8a7c
treef2ca5e2cde1b9d9d9fbe03316231db8eda125de2
parent544dfb514de916cb0af5082e41d2bab9f44cd84e
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