lkml.org 
[lkml]   [2020]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] /dev/zero: also implement ->read
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 <christophe.leroy@csgroup.eu>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Tested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
> ---
>
> 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

\
 
 \ /
  Last update: 2020-09-07 10:21    [W:0.047 / U:3.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site