diff options
| author | Fabio M. De Francesco <[email protected]> | 2022-04-08 23:31:29 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-07-08 17:32:10 +0100 |
| commit | 2ad935a15ffa38c7b4739c4f81665318f103b03d (patch) | |
| tree | 357859cc82e33ead38169e38c912e697fa627bc2 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5088bbde3ad8d3e2c8a6614d87bea0a3df176e69 (diff) | |
media: staging: media: atomisp: Convert kmap() to kmap_local_page()
The use of kmap() is being deprecated in favor of kmap_local_page() where
it is feasible. With kmap_local_page(), the mapping is per thread, CPU
local and not globally visible.
load_and_flush_by_kmap() is a function where the use of kmap_local_page()
in place of kmap() is correctly suited.
Convert load_and_flush_by_kmap() from kmap() to kmap_local_page().
Link: https://lore.kernel.org/linux-media/[email protected]
Signed-off-by: Fabio M. De Francesco <[email protected]>
Tested-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions