aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorPintu Kumar <[email protected]>2024-10-10 23:21:43 +0530
committerAndrew Morton <[email protected]>2024-11-07 14:38:07 -0800
commite664c2cd98cbf5e6fcc3ee92b5f3fc8f7f35e11e (patch)
treeafd779b4df3bcaf0ccf09dab4da1d443d59d0d15 /tools/perf/scripts/python/sctop.py
parent91d0ec834786a4c9e1e0c55f0fffc8c82cd66cd7 (diff)
mm/zsmalloc: use memcpy_from/to_page whereever possible
As part of "zsmalloc: replace kmap_atomic with kmap_local_page" [1] we replaced kmap/kunmap_atomic() with kmap_local_page()/kunmap_local(). But later it was found that some of the code could be replaced with already available apis in highmem.h, such as memcpy_from_page()/memcpy_to_page(). Also, update the comments with correct api naming. [1] https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Pintu Kumar <[email protected]> Suggested-by: Matthew Wilcox <[email protected]> Suggested-by: Sergey Senozhatsky <[email protected]> Cc: Joe Perches <[email protected]> Cc: Minchan Kim <[email protected]> Cc: Pintu Agarwal <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions