diff options
author | 2023-06-21 17:45:47 +0100 | |
---|---|---|
committer | 2023-06-23 16:59:28 -0700 | |
commit | bdadc6d83156016d2b5eed582c1458c881c53a1e (patch) | |
tree | 621d00a1f75e5423f071ee14ae0609cddafe9737 /tools/perf/scripts/python/libxed.py | |
parent | mm: add __folio_batch_release() (diff) | |
download | wireguard-linux-bdadc6d83156016d2b5eed582c1458c881c53a1e.tar.xz wireguard-linux-bdadc6d83156016d2b5eed582c1458c881c53a1e.zip |
scatterlist: add sg_set_folio()
This wrapper for sg_set_page() lets drivers add folios to a scatterlist
more easily. We could, perhaps, do better by using a different page in
the folio if offset is larger than UINT_MAX, but let's hope we get a
better data structure than this before we need to care about such large
folios.
Link: https://lkml.kernel.org/r/20230621164557.3510324-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions