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

Commit 2038dbf7 authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by KakatkarAkshay
Browse files

mm: vmpressure: Ignore allocation orders above PAGE_ALLOC_COSTLY_ORDER



PAGE_ALLOC_COSTLY_ORDER allocations can cause vmpressure to incorrectly
think that memory pressure is high, when it's really just that the
allocation's high order is difficult to satisfy. When this rare scenario
occurs, ignore the input to vmpressure to avoid sending out a spurious
high-pressure signal.

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 04e2af8c
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