ratelimit cma_alloc messages
Bug #1828092 reported by
dann frazier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
dann frazier |
Bug Description
[Impact]
As described in bug 1823753, failures to allocate DMA out of CMA space can result in ~10K cma_alloc() error messages. While non-fatal (the code falls back to allocating memory out of non-CMA space), the error messages themselves can be a problem - esp. for systems w/ slow consoles like the HP m400 (9600 baud). It slows down boot so much that MAAS deploys fail due to timeout.
[Test Case]
Boot the disco kernel on an HP m400 or a HiSilicon D06 w/ the SMMU disabled in the BIOS.
[Fix]
Ratelimit the messages.
[Regression Risk]
Minimal - we're just attempting to quiescing log spew.
Changed in linux (Ubuntu Disco): | |
status: | Incomplete → In Progress |
assignee: | nobody → dann frazier (dannf) |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1828092
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.