diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-03 17:59:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-03 19:50:47 +0200 |
commit | 99f667352f6c938440d9043d0f66f859d6f3d50d (patch) | |
tree | bf5c687509f17d774cd978ac684c2a2c157d6ca2 /drivers/greybus/interface.c | |
parent | binder: print warnings when detecting oneway spamming. (diff) | |
download | linux-99f667352f6c938440d9043d0f66f859d6f3d50d.tar.xz linux-99f667352f6c938440d9043d0f66f859d6f3d50d.zip |
/dev/zero: also implement ->read
Christophe reported a major speedup due to avoiding the iov_iter
overhead, so just add this trivial function. Note that /dev/zero
already implements both an iter and non-iter writes so this just
makes it more symmetric.
Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20200903155922.1111551-1-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/greybus/interface.c')
0 files changed, 0 insertions, 0 deletions