diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-03-10 09:53:12 +0100 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-03-11 10:06:32 +0100 |
| commit | 252b0e790d22dfef8c4d0c39a5bfc04e40b615ad (patch) | |
| tree | 83a1a92c21f7783517f85b35121030ff8adcdd74 /tools/perf/scripts/python/flamegraph.py | |
| parent | e669d2f601919aedc6cadca673109684aa499326 (diff) | |
dma-buf: heaps: Clear CMA highages using helper
Currently the CMA allocator clears highmem pages using
kmap()->clear_page()->kunmap(), but there is a helper
static inline in <linux/highmem.h> that does the same for
us so use clear_highpage() instead of open coding this.
Suggested-by: T.J. Mercier <tjmercier@google.com>
Reviewed-by: T.J. Mercier <tjmercier@google.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260310-cma-heap-clear-pages-v2-2-ecbbed3d7e6d@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
