summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMark-PK Tsai <mark-pk.tsai@mediatek.com>2023-10-06 09:02:40 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-19 00:34:16 +0300
commitafb2d666d0250e707eef3c5947165b414268244b (patch)
tree09fe3515599f80dcef702dc4aae55d0ee5a5bcf1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentbafd7e9d353ea091958d0dc702390add34b480e9 (diff)
downloadlinux-afb2d666d0250e707eef3c5947165b414268244b.tar.xz
zsmalloc: use copy_page for full page copy
Some architectures have implemented optimized copy_page for full page copying, such as arm. On my arm platform, use the copy_page helper for single page copying is about 10 percent faster than memcpy. Link: https://lkml.kernel.org/r/20231006060245.7411-1-mark-pk.tsai@mediatek.com Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: Minchan Kim <minchan@kernel.org> Cc: YJ Chiang <yj.chiang@mediatek.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions