summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.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-01 19:33:48 -0400
commit6def59fab72eae439ad67fea9ce8f818287ba110 (patch)
tree5691794ac60e118222047bad3e54b6458ed72551 /tools/perf/scripts/python/export-to-sqlite.py
parente99b23f28e56e326dbc10c1ad44bafa0086da0f5 (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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions