The patch titled Subject: mm-page_counter-move-calculating-protection-values-to-page_counter-fix has been added to the -mm mm-unstable branch. Its filename is mm-page_counter-move-calculating-protection-values-to-page_counter-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-page_counter-move-calculating-protection-values-to-page_counter-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-page_counter-move-calculating-protection-values-to-page_counter-fix Date: Fri Jul 12 03:34:32 PM PDT 2024 fix kerneldoc, per Jeff Johnson Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx> Cc: Roman Gushchin <roman.gushchin@xxxxxxxxx> Cc: Shakeel Butt <shakeel.butt@xxxxxxxxx> Cc: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/page_counter.c~mm-page_counter-move-calculating-protection-values-to-page_counter-fix +++ a/mm/page_counter.c @@ -386,7 +386,7 @@ static unsigned long effective_protectio /** * page_counter_calculate_protection - check if memory consumption is in the normal range * @root: the top ancestor of the sub-tree being checked - * @memcg: the memory cgroup to check + * @counter: the page_counter the counter to update * @recursive_protection: Whether to use memory_recursiveprot behavior. * * Calculates elow/emin thresholds for given page_counter. _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-hugetlbc-undo-errant-change.patch mm-gup-introduce-memfd_pin_folios-for-pinning-memfd-folios-fix.patch mm-page_counter-move-calculating-protection-values-to-page_counter-fix.patch mm-migrate-putback-split-folios-when-numa-hint-migration-fails-fix.patch