BACKPORT: memcg: add mem_cgroup_uncharge_folios()
Almost identical to mem_cgroup_uncharge_list(), except it takes a folio_batch instead of a list_head. Link: https://lkml.kernel.org/r/20240227174254.710559-6-willy@infradead.org Change-Id: I7be42f29e5c352ac15bf757fb35e0621d21c94f7 Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by:
Ryan Roberts <ryan.roberts@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> (cherry picked from commit 4882c809) [ Fix trivial conflicts in include/linux/memcontrol.h - Kalesh Singh] Bug: 419599659 Signed-off-by:
Kalesh Singh <kaleshsingh@google.com>
Loading
Please sign in to comment