[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ccdf2213-651c-ae04-1a2f-4e69fdd2faa8@huawei.com>
Date: Wed, 10 Feb 2021 16:51:41 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: David Hildenbrand <david@...hat.com>
CC: <linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<akpm@...ux-foundation.org>, <mike.kravetz@...cle.com>
Subject: Re: [PATCH] mm/hugetlb: use some helper functions to cleanup code
On 2021/2/10 16:35, David Hildenbrand wrote:
> On 10.02.21 07:53, Miaohe Lin wrote:
>> We could use pages_per_huge_page to get the number of pages per hugepage,
>> use get_hstate_idx to calculate hstate index, and use hstate_is_gigantic
>> to check if a hstate is gigantic to make code more succinct.
>>
>
> Another suggestion, please collect and group your cleanups for a subsystem and send them in a single cleanup patch series where possible. Again, makes life easier for reviewers and maintainers.
>
Many thanks for your suggestion again. I will keep it in mind. :)
> Thanks!
>
Thanks a lot.
>
Powered by blists - more mailing lists