Commit a26daa8
ZEN: INTERACTIVE: mm/swap: Disable swap-in readahead
Per an [issue][1] on the chromium project, swap-in readahead causes more
jank than not. This might be caused by poor optimization on the
swapping code, or the fact under memory pressure, we're pulling in pages
we don't need, causing more swapping.
Either way, this is mainline/upstream to Chromium, and ChromeOS
developers care a lot about system responsiveness. Lets implement the
same change so Zen Kernel users benefit.
[1]: https://bugs.chromium.org/p/chromium/issues/detail?id=263561
Signed-off-by: Kai Krakow <kai@kaishome.de>1 parent 730bdca commit a26daa8
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1083 | 1087 | | |
1084 | 1088 | | |
1085 | 1089 | | |
| |||
1091 | 1095 | | |
1092 | 1096 | | |
1093 | 1097 | | |
| 1098 | + | |
1094 | 1099 | | |
0 commit comments