summary refs log tree commit diff
path: root/mm/slab.h
diff options
context:
space:
mode:
authorYanfei Xu <yanfei.xu@windriver.com>2021-02-24 12:07:22 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-02-24 13:38:32 -0800
commit5291c09b3edb657f23c1939750c702ba2d74932f (patch)
tree75aab542e1e22e8a1474b0132b7cb0edbc9edcb3 /mm/slab.h
parent6c26d3108393211ecfd44d89404cfb744027bafd (diff)
downloadlinux-5291c09b3edb657f23c1939750c702ba2d74932f.tar.gz
mm/hugetlb: remove redundant check in preparing and destroying gigantic page
Gigantic page is a compound page and its order is more than 1.  Thus it
must be available for hpage_pincount.  Let's remove the redundant check
for gigantic page.

Link: https://lkml.kernel.org/r/20210202112002.73170-1-yanfei.xu@windriver.com
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions