aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNanyong Sun <sunnanyong@huawei.com>2024-09-05 23:30:28 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-09-09 16:39:15 -0700
commite4bfc678579eb32360cdd09503c8fe62f943bc3f (patch)
tree9346952ac4042d4ec4221176856a963686b29fd7 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentmm: migrate: simplify find_mm_struct() (diff)
downloadwireguard-linux-e4bfc678579eb32360cdd09503c8fe62f943bc3f.tar.xz
wireguard-linux-e4bfc678579eb32360cdd09503c8fe62f943bc3f.zip
mm: thp: simplify split_huge_pages_pid()
The helper find_get_task_by_vpid() can totally replace the task_struct find logic in split_huge_pages_pid(), so use it to simplify the code. Also delete the needless comments for the helper function name already explains what it's doing here. Link: https://lkml.kernel.org/r/20240905153028.1205128-1-sunnanyong@huawei.com Signed-off-by: Nanyong Sun <sunnanyong@huawei.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions