diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-08-14 17:30:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-14 19:56:56 -0700 |
commit | 6ffbb45826f5d9ae09aa60cd88594b7816c96190 (patch) | |
tree | ae03d305c3418ebea06097226d3610d73e2751bf /drivers | |
parent | 419015675fef6c4b28689bd2ace559564c2e106c (diff) | |
download | linux-6ffbb45826f5d9ae09aa60cd88594b7816c96190.tar.gz linux-6ffbb45826f5d9ae09aa60cd88594b7816c96190.tar.bz2 linux-6ffbb45826f5d9ae09aa60cd88594b7816c96190.zip |
mm: add thp_order
This function returns the order of a transparent huge page. It compiles
to 0 if CONFIG_TRANSPARENT_HUGEPAGE is disabled.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Link: http://lkml.kernel.org/r/20200629151959.15779-4-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions