diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-05-26 19:43:40 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-06-05 00:49:27 +0300 |
| commit | 9ac9a08e4ac4bc063e56e1aff266c5e8aa5c6c03 (patch) | |
| tree | 8922a2e5a2ca07a390fa65b8f93f0c1a47fa866f /scripts/stackusage | |
| parent | 94bfc7f3b0c7c33331ba4ff6cc64ff309dfcbce8 (diff) | |
| download | linux-9ac9a08e4ac4bc063e56e1aff266c5e8aa5c6c03.tar.xz | |
lib: kunit_iov_iter: repeatedly call alloc_pages_bulk()
alloc_pages_bulk() is not guaranteed to return all requested pages in a
single call.
Call it repeatedly until all pages have been allocated or no more progress
is being made.
Link: https://lore.kernel.org/20260526-kunit_iov_iter-alloc_bulk-v2-1-24fbcd995c61@weissschuh.net
Fixes: 2d71340ff1d4 ("iov_iter: Kunit tests for copying to/from an iterator")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Cc: "Christian A. Ehrhardt" <lk@c--e.de>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
