Re: [PATCH 03/10] mm/hugetlb: use list_splice to merge two list at once
From: Mike Kravetz
Date: Mon Aug 10 2020 - 17:08:02 EST
On 8/7/20 2:12 AM, Wei Yang wrote:
> Instead of add allocated file_region one by one to region_cache, we
> could use list_splice to merge two list at once.
>
> Also we know the number of entries in the list, increase the number
> directly.
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxxxxxxxxxx>
Thanks!
Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
--
Mike Kravetz