diff options
| author | Peter Xu <[email protected]> | 2023-03-15 17:16:42 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-03-28 23:20:18 +0000 |
| commit | 3c556d2425b04054e22045d4ef7d34f163b7a71a (patch) | |
| tree | b2f49010187e89ab83cc2a7a25b0c11ca7862ab9 /mm/dmapool_test.c | |
| parent | mm: memory-failure: directly use IS_ENABLED(CONFIG_HWPOISON_INJECT) (diff) | |
| download | kernel-3c556d2425b04054e22045d4ef7d34f163b7a71a.tar.gz kernel-3c556d2425b04054e22045d4ef7d34f163b7a71a.zip | |
mm/thp: rename TRANSPARENT_HUGEPAGE_NEVER_DAX to _UNSUPPORTED
TRANSPARENT_HUGEPAGE_NEVER_DAX has nothing to do with DAX. It's set when
has_transparent_hugepage() returns false, checked in hugepage_vma_check()
and will disable THP completely if false. Rename it to
TRANSPARENT_HUGEPAGE_UNSUPPORTED to reflect its real purpose.
[[email protected]: fix comment, per David]
Link: https://lkml.kernel.org/r/ZBMzQW674oHQJV7F@x1n
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Peter Xu <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Yang Shi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/dmapool_test.c')
0 files changed, 0 insertions, 0 deletions
