summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-03-10 16:19:05 +0300
committerCarlos Maiolino <cem@kernel.org>2025-03-10 16:29:44 +0300
commitf2a3717a74c2cf01e29ea3aba355e171eb0d5f5f (patch)
tree88fec990feaab22a9e83a05bac62f5071b27a9e0 /scripts/lib/kdoc/kdoc_parser.py
parent69659e46b7588d2fd5e4644dec9e61127bbfd5f3 (diff)
downloadlinux-f2a3717a74c2cf01e29ea3aba355e171eb0d5f5f.tar.xz
xfs: add a fast path to xfs_buf_zero when b_addr is set
No need to walk the page list if bp->b_addr is valid. That also means b_offset doesn't need to be taken into account in the unmapped loop as b_offset is only set for kmem backed buffers which are always mapped. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions