aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2023-03-15 13:52:56 +0100
committerLuis Chamberlain <[email protected]>2023-03-22 16:12:35 -0700
commit3c17655ab13704582fe25e8ea3200a9b2f8bf20a (patch)
treedd95120fe93ea55311fc00a0396d6af72a734d5b /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent3703bd54cd37e7875f51ece8df8c85c184e40bba (diff)
module/decompress: Never use kunmap() for local un-mappings
Use kunmap_local() to unmap pages locally mapped with kmap_local_page(). kunmap_local() must be called on the kernel virtual address returned by kmap_local_page(), differently from how we use kunmap() which instead expects the mapped page as its argument. In module_zstd_decompress() we currently map with kmap_local_page() and unmap with kunmap(). This breaks the code and so it should be fixed. Cc: Piotr Gorski <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Ira Weiny <[email protected]> Fixes: 169a58ad824d ("module/decompress: Support zstd in-kernel decompression") Signed-off-by: Fabio M. De Francesco <[email protected]> Reviewed-by: Stephen Boyd <[email protected]> Reviewed-by: Ira Weiny <[email protected]> Reviewed-by: Piotr Gorski <[email protected]> Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions