Fix OOM errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU:
The original report for this bug is this one:
http://
but since the raspi2 kernel has a well isolated solution that doesn't affect (and doesn't apply) to the other kernels mentioned there, i decided to spawn this bug and use it as a reference instead of polluting the above LP bug with details and information that don't pertain there.
Impact:
People are reporting OOM errors on RaspberryPI2/3, in particular when running
KDE or chromium, and the problem disappears when they go back to a kernel previous
than 4.4.0-1044.51.
This is actually a fallout from a previous attempt to fix a memory corruption in the usb stack and that was triggered during boot when mmc was mounted:
BugLink: http://
While trying to 'fix' the above problem, some patches that deal with OOM and memory presseure situaions were reverted and led to this situation - by reverting back these changes we fix the OOM errors (see comments #90, #91, #92 and #93 in the original LP bug) as reported by users, while the memory corruption problem doesn't show up anymore.
Fix:
Test a kernel with the following reverts reverted:
080aca8 Revert "mm: consider compaction feedback also for costly allocation"
486bab1 Revert "mm, oom, compaction: prevent from should_
7b84469 Revert "mm, oom: protect !costly allocations some more for !CONFIG_COMPACTION"
19724e4 Revert "mm, oom: prevent premature OOM killer invocation for high order request"
4b8b650 Revert "PM / wakeirq: Fix dedicated wakeirq for drivers not using autosuspend"
How to test:
People have reported out of memory erros while running KDE and/or chromium, so the best way to reproduce this problem is to install KDE, open ~20 konqueror windows, execute chromium, and opens ~10 tabs on different web sites - if the kernel doesn't oops, the fix is working.
CVE References
tags: | added: patch |
Changed in linux-raspi2 (Ubuntu Xenial): | |
status: | New → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
Changed in linux-raspi2 (Ubuntu): | |
status: | New → Invalid |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- xenial' to 'verification- done-xenial' . If the problem still exists, change the tag 'verification- needed- xenial' to 'verification- failed- xenial' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!