lkml.org 
[lkml]   [2021]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm/hugetlb: use some helper functions to cleanup code
From
Date
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.

Thanks!


--
Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2021-02-10 09:41    [W:0.113 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site