diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2019-04-17 18:33:51 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-04-21 23:12:39 +1000 |
commit | ef629cc5bf0543eb57d6e344ba776880ac35fd00 (patch) | |
tree | 3713d40f241169a87dae20faae74ee4e744701ca /arch/powerpc/mm/pgtable_64.c | |
parent | 701101865f5d3e268281ce7a254eb4a97d16cbdc (diff) | |
download | linux-stable-ef629cc5bf0543eb57d6e344ba776880ac35fd00.tar.gz linux-stable-ef629cc5bf0543eb57d6e344ba776880ac35fd00.tar.bz2 linux-stable-ef629cc5bf0543eb57d6e344ba776880ac35fd00.zip |
powerc/mm/hash: Reduce hash_mm_context size
Allocate subpage protect related variables only if we use the feature.
This helps in reducing the hash related mm context struct by around 4K
Before the patch
sizeof(struct hash_mm_context) = 8288
After the patch
sizeof(struct hash_mm_context) = 4160
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/pgtable_64.c')
0 files changed, 0 insertions, 0 deletions