diff options
author | Naoya Horiguchi <naoya.horiguchi@nec.com> | 2022-07-14 06:24:18 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-08-09 03:06:44 +0200 |
commit | 7453bf621cfaf01a61f0e9180390ac6abc414894 (patch) | |
tree | 3c314190d885d42cd46146cd9588eeb57ed5fcc7 /mm/zswap.c | |
parent | mm, hwpoison: set PG_hwpoison for busy hugetlb pages (diff) | |
download | linux-7453bf621cfaf01a61f0e9180390ac6abc414894.tar.xz linux-7453bf621cfaf01a61f0e9180390ac6abc414894.zip |
mm, hwpoison: make __page_handle_poison returns int
__page_handle_poison() returns bool that shows whether
take_page_off_buddy() has passed or not now. But we will want to
distinguish another case of "dissolve has passed but taking off failed" by
its return value. So change the type of the return value. No functional
change.
Link: https://lkml.kernel.org/r/20220714042420.1847125-7-naoya.horiguchi@linux.dev
Signed-off-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Liu Shixin <liushixin2@huawei.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/zswap.c')
0 files changed, 0 insertions, 0 deletions