commit | fa1f8ae80f8bb996594167ff4750a0b0a5a5bb5d | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Wed Aug 13 12:31:58 2014 +0530 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Aug 13 18:20:38 2014 +1000 |
tree | f2ca5e2cde1b9d9d9fbe03316231db8eda125de2 | |
parent | b0aa44a3dfae3d8f45bd1264349aa87f87b7774f [diff] |
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>