On Mon, Sep 07, 2020 at 09:51:43AM +0200, Christoph Hellwig wrote: > Christophe reported a major speedup due to avoiding the iov_iter > overhead, so just add this trivial function. > > Suggested-by: Christophe Leroy <[email protected]> > Signed-off-by: Christoph Hellwig <[email protected]> > Tested-by: Christophe Leroy <[email protected]> > --- > > Changes since v1: > - fix the Suggested-by: tag > - report the actually read bytes in case of a partial clear_user > - remove an impossible to hit conditional > > drivers/char/mem.c | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+)
I already merged your v1 into my tree, do you want me to revert that and then add this, or can you send me the diff to apply instead? I can't rebase my public trees. thanks, greg k-h

