Re: [PATCH resend 1/2] mm: always use base address when clear gigantic page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Oct 2024 08:44:55 +0800 Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> wrote:

> When clear gigantic page, it zeros page from the first subpage to
> the last subpage, that is, aligned base address is needed in it,
> and we don't need to aligned down the address in the caller as the
> real address will be passed to process_huge_page().

Matthew just told us that folios con't have subpages
(https://lkml.kernel.org/r/ZxsRCyBSO-C27Uzn@xxxxxxxxxxxxxxxxxxxx).

Please carefully describe the impact of this change.  I think it's
"small cleanup and optimization?"

Also, I find the changelog rather hard to follow.  I think we're adding
the alignment operation to the callee and hence removing it from the
caller?





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux