Re: [PATCH v2 6/6] mm/memcontrol: Remove __mod_lruvec_page_state()

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

 



On 28 Dec 2023, at 3:57, Matthew Wilcox (Oracle) wrote:

> There are no more callers of __mod_lruvec_page_state(), so convert
> the implementation to __lruvec_stat_mod_folio(), removing two calls to
> compound_head() (one explicit, one hidden inside page_memcg()).
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
> ---
>  include/linux/vmstat.h | 36 ++++++++++++++++++------------------
>  mm/memcontrol.c        |  9 ++++-----
>  2 files changed, 22 insertions(+), 23 deletions(-)

LGTM. Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>

--
Best Regards,
Yan, Zi

Attachment: signature.asc
Description: OpenPGP digital signature


[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