[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54d65c15-d366-cac2-b359-78c81d8d570b@oracle.com>
Date: Mon, 10 Aug 2020 14:07:38 -0700
From: Mike Kravetz <mike.kravetz@...cle.com>
To: Wei Yang <richard.weiyang@...ux.alibaba.com>,
akpm@...ux-foundation.org
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/10] mm/hugetlb: use list_splice to merge two list at
once
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@...ux.alibaba.com>
Thanks!
Reviewed-by: Mike Kravetz <mike.kravetz@...cle.com>
--
Mike Kravetz
Powered by blists - more mailing lists