diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2016-04-29 23:26:31 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-11 21:53:58 +1000 |
commit | ab62476240d59a9d7d78ca5ff32499dd50db2069 (patch) | |
tree | 9758e5cdb1f2e5fd1b08d0ceee7e046f0ad4c4e5 /sound/hda/array.c | |
parent | bde3eb6222e49673d2ee9dfdc6ab6e7b6ff69e91 (diff) | |
download | op-kernel-dev-ab62476240d59a9d7d78ca5ff32499dd50db2069.zip op-kernel-dev-ab62476240d59a9d7d78ca5ff32499dd50db2069.tar.gz |
powerpc/mm/radix: Add THP support for 4K linux page size
This adds THP support for 4K Linux page size config with radix. We still
don't do THP with 4K Linux page size and hash page table. Hash page
table needs a 16MB hugepage and we can't do THP with 16MM hugepage and
4K Linux page size.
We add missing functions to 4K hash config to get it to build and
hash__has_transparent_hugepage() makes sure we don't enable THP for 4K
hash config. To catch wrong usage of THP related with 4K config, we add
BUG() in those dummy functions we added to get it compile.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'sound/hda/array.c')
0 files changed, 0 insertions, 0 deletions