Re: [PATCH v3] fs/proc/page: Refactoring to reduce code duplication.
From: Andrew Morton
Date: Mon Mar 17 2025 - 23:03:55 EST
On Tue, 18 Mar 2025 10:51:38 +0800 Liu Ye <liuyerd@xxxxxxx> wrote:
> From: Liu Ye <liuye@xxxxxxxxxx>
>
> The function kpageflags_read and kpagecgroup_read is quite similar
> to kpagecount_read. Consider refactoring common code into a helper
> function to reduce code duplication.
>
The code in mm.git's mm-unstable branch (and in linux-next) has changed
significantly. Please take a look?