RFC Begin switching iomap from apply to iter
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iomap: Add iomap_iter APIfs/ fs/ include/ | +106 | 5 replies | |
| 2/2 | iomap: Convert page_mkwrite to iter APIfs/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] Begin switching iomap from apply to iter
From: "Matthew Wilcox (Oracle)" <[email protected]>
I don't like the 'apply' design pattern. It splits the logic between two functions, and from a performance point of view, it introduces an indirect function call which is more expensive due to Spectre. This rfc only converts one function over to use the new API as a demonstration. I don't want to waste time on it if people aren't interested in this approach.
I haven't tested this at all; it's probably buggy.
Matthew Wilcox (Oracle) (2):
iomap: Add iomap_iter API
iomap: Convert page_mkwrite to iter API
fs/iomap/Makefile | 2 +- fs/iomap/buffered-io.c | 51 ++++++++++---------------- fs/iomap/iter.c | 81 ++++++++++++++++++++++++++++++++++++++++++ include/linux/iomap.h | 24 +++++++++++++ 4 files changed, 125 insertions(+), 33 deletions(-) create mode 100644 fs/iomap/iter.c
Signature · 1 line
2.25.1