Skip to content
Commit 17210552 authored by kdrag0n's avatar kdrag0n Committed by Your Name
Browse files

mm: swap: swap pages one at a time

According to Google, this is optimal.
"By default, the Linux kernel swaps in 8 pages of memory at a time. When
using ZRAM, the incremental cost of reading 1 page at a time is
negligible and may help in case the device is under extreme memory
pressure."

Source: https://source.android.com/devices/tech/perf/low-ram



Signed-off-by: default avatarkdrag0n <dragon@khronodragon.com>
Signed-off-by: default avatarLau <laststandrighthere@gmail.com>
parent dfa58c60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment