Re: [PATCH v7 03/13] hugetlb: Mark some function arguments as const

Miaohe Lin <[email protected]>
Newsgroups org.kernel.vger.linux-fsdevel,org.kvack.linux-mm
Message-ID <[email protected]>
On 2026/7/29 4:43, Matthew Wilcox (Oracle) wrote:
> These functions do not modify their folio argument, so we can mark them
> as being const which will allow for some minor optimisations and let us
> mark other function arguments as being const in the future.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
> Acked-by: Usama Arif <[email protected]>
> Reviewed-by: Gregory Price <[email protected]>

Reviewed-by: Miaohe Lin <[email protected]>

Thanks.
.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.