summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-08-14 17:30:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-14 19:56:56 -0700
commit6ffbb45826f5d9ae09aa60cd88594b7816c96190 (patch)
treeae03d305c3418ebea06097226d3610d73e2751bf /drivers
parent419015675fef6c4b28689bd2ace559564c2e106c (diff)
downloadlinux-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