]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/hugetlb.c: make is_hugetlb_entry_hwpoisoned return bool
authorBaoquan He <bhe@redhat.com>
Tue, 13 Oct 2020 23:56:10 +0000 (16:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:33 +0000 (18:38 -0700)
commit3e5c36007e9c37378ff0bcaa2bc813d72c8659bc
treed920dae7a28917ed8d3b2bfa2ca70800a0065640
parentab00db216c9c78cc0a68bc4e27889c1ee374598d
mm/hugetlb.c: make is_hugetlb_entry_hwpoisoned return bool

Patch series "mm/hugetlb: Small cleanup and improvement", v2.

This patch (of 3):

Just like its neighbour is_hugetlb_entry_migration() has done.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lkml.kernel.org/r/20200723032248.24772-1-bhe@redhat.com
Link: https://lkml.kernel.org/r/20200723032248.24772-2-bhe@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c