Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f9fcda0 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by KakatkarAkshay
Browse files

mm: Don't stop kswapd on a per-node basis when there are no waiters



The page allocator wakes all kswapds in an allocation context's allowed
nodemask in the slow path, so it doesn't make sense to have the kswapd-
waiter count per each NUMA node. Instead, it should be a global counter
to stop all kswapds when there are no failed allocation requests.

Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
[kdrag0n: Forward-ported from 4.14 to 4.19]
Signed-off-by: default avatarDanny Lin <danny@kdrag0n.dev>
parent 83893c29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment