diff options
| author | Baolin Wang <[email protected]> | 2021-05-04 18:37:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:24 -0700 |
| commit | 63f83b31f4f36d933e13bd8b9a25d6d9a0cf89dd (patch) | |
| tree | e4d20696b6636d382767402808d70a16af69bae4 /tools/perf/scripts/python/stackcollapse.py | |
| parent | bbb269206f3c914d4f23e023de4ec020abea6d1b (diff) | |
mm: cma: use pr_err_ratelimited for CMA warning
If we did not reserve extra CMA memory, the log buffer can be easily
filled up by CMA failure warning when the devices calling
dmam_alloc_coherent() to alloc DMA memory. Thus we can use
pr_err_ratelimited() instead to reduce the duplicate CMA warning.
Link: https://lkml.kernel.org/r/ce2251ef49e1727a9a40531d1996660b05462bd2.1615279825.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions