summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@kylinos.cn>2025-06-05 10:06:38 +0800
committerKent Overstreet <kent.overstreet@linux.dev>2025-07-04 23:17:11 -0400
commitf22b6d289074f7b1323e851ee1a8f05a92fa337a (patch)
treea2ebfa61ee04e6a0efa0ac1852c6d3b66cb36030 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent5a96a8b324b317060ec68e484b503a7f434f511e (diff)
bcachefs: Simplify bch2_bio_map()
For the part of directly mapping the kernel virtual address, there is no need to increase to bio page-by-page. It can be directly replaced by bio_add_virt_nofail(). For the address part of the vmalloc region, its physical address is discontinuous and needs to be increased page-by-page to bio. The helper function bio_add_vmalloc() can be used to simplify the implementation of bch2_bio_map(). Signed-off-by: Youling Tang <tangyouling@kylinos.cn> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions