summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2026-10-01 10:57:12 +0200
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 23:06:23 -0700
commit20e6d239e5efd0dd7ec1880bdaafde94c41de776 (patch)
treef42d657c9ef9a490f9f707b0e27d6fb528c76f0e /tools/lib/python/kdoc/python_version.py
parent7c88180bd16655fd664d9b48dee76ed16c9f17f8 (diff)
downloadlinux-next-20e6d239e5efd0dd7ec1880bdaafde94c41de776.tar.gz
linux-next-20e6d239e5efd0dd7ec1880bdaafde94c41de776.zip
mm/swap: submit the last readahead batch before unplugging
Since block swap I/O is batched in struct swap_iocb, swap_add_folio() only appends a folio to the pending batch when its slot directly follows the previous one, and submits the pending batch otherwise. Batches submitted inside the readahead loop go through the plug, where the block layer can still merge them, but the final batch is submitted after blk_finish_plug() and always becomes a separate request. So submit the final batch before finishing the plug. Link: https://lore.kernel.org/20261001085730.2029773-1-alex@ghiti.fr Fixes: dda8fb68b590 ("mm/swap: also use struct swap_iocb for block I/O") Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Joshua Hahn <joshua.hahnjy@gmail.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Chris Li <chrisl@kernel.org> Cc: Kairui Song <kasong@tencent.com> Cc: Kemeng Shi <shikemeng@huaweicloud.com> Cc: Nhat Pham <nphamcs@gmail.com> Cc: Baoquan He <baoquan.he@linux.dev> Cc: Barry Song <baohua@kernel.org> Cc: Youngjun Park <youngjun.park@lge.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions