Messages in this thread | | | Date | Mon, 10 Jul 2023 16:57:04 +0900 | From | Naoya Horiguchi <> | Subject | Re: [PATCH 4/8] mm: memory-failure: use local variable huge to check hugetlb page |
| |
On Sat, Jul 08, 2023 at 04:57:40PM +0800, Miaohe Lin wrote: > Use local variable huge to check whether page is hugetlb page to avoid > calling PageHuge() multiple times to save cpu cycles. PageHuge() will > be stable while extra page refcnt is held. > > Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
| |