diff options
author | Sourav Panda <souravpanda@google.com> | 2024-10-23 02:24:40 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-11-07 07:11:17 +0300 |
commit | ed265529d39ac408396c031a4fd7e1ef922b80d0 (patch) | |
tree | d3209e723fc3da3cd7fdd0c3f815dd0a9fce9216 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 78c018e3942c5dfbab7e6edb4eb784943878504b (diff) | |
download | linux-ed265529d39ac408396c031a4fd7e1ef922b80d0.tar.xz |
mm/codetag: fix arg in pgalloc_tag_copy alloc_tag_sub
alloc_tag_sub() takes bytes as opposed to number of pages as argument.
Currently pgalloc_tag_copy() passes the number of pages. This fix passes
the correct unit, which is the number of bytes allocated.
Link: https://lkml.kernel.org/r/20241022232440.334820-1-souravpanda@google.com
Fixes: e0a955bf7f61 ("mm/codetag: add pgalloc_tag_copy()")
Signed-off-by: Sourav Panda <souravpanda@google.com>
Acked-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Wei Xu <weixugc@google.com>
Cc: Yu Zhao <yuzhao@google.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions