summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.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-03 01:20:18 -0400
commitd0381745e173f24f708fef173ceec8c530076a7b (patch)
tree8ddab1ed85623dd25b21cde658e08b72713b383e /scripts/lib/kdoc/kdoc_parser.py
parentb114f4626622d4c80ca7510dd3dc4982bc339344 (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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions