Messages in this thread | | | Date | Tue, 20 Sep 2022 05:28:49 +0200 | From | Oscar Salvador <> | Subject | Re: [PATCH V3] mm/hugetlb: add available_huge_pages() func |
| |
On Sat, Sep 17, 2022 at 09:15:28AM +0800, Xin Hao wrote: > In hugetlb.c file, there are several places to compare the values of > 'h->free_huge_pages' and 'h->resv_huge_pages', it looks a bit messy, so > there add a new available_huge_pages() func to do these. > > Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
-- Oscar Salvador SUSE Labs
| |