summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2025-06-23 11:58:50 -0700
committerAndrew Morton <akpm@linux-foundation.org>2025-07-19 18:59:52 -0700
commit57972c78e6780564710e20f0b2fad45114c93461 (patch)
tree52abce8e92226bc47a0563274bdf54161730d835 /rust/alloc/collections/git@git.tavy.me:linux.git
parent2b7226af730cc9a8818ff3b39aabcd76861913dd (diff)
mm/vmscan: make __node_reclaim() more generic
As this will be called from non page allocator paths for proactive reclaim, allow users to pass the sc and nr of pages, and adjust the return value as well. No change in semantics. Link: https://lkml.kernel.org/r/20250623185851.830632-4-dave@stgolabs.net Signed-off-by: Davidlohr Bueso <dave@stgolabs.net> Reviewed-by: Roman Gushchin <roman.gushchin@linux.dev> Acked-by: Shakeel Butt <shakeel.butt@linux.dev> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Yosry Ahmed <yosryahmed@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions