Re: [PATCH] net: bypass ->sendpage for slab pages

From: Christoph Hellwig
Date: Mon Sep 21 2020 - 10:26:03 EST


On Fri, Sep 18, 2020 at 04:37:24PM +0800, Coly Li wrote:
> Hi David and Christoph,
>
> It has been quiet for a while, what should we go next for the
> kernel_sendpage() related issue ?
>
> Will Christoph's or my series be considered as proper fix, or maybe I
> should wait for some other better idea to show up? Any is OK for me,
> once the problem is fixed.

I think for all the network storage stuff we really need a "send me
out a page helper", and the nvmet bits that Dave pointed to look to
me like they actually are currently broken.

Given that Dave doesn't want to change the kernel_sendpage semantics
I'll resend with a new helper instead. Any preferences for a name?
safe_sendpage? kernel_sendpage_safe? kernel_send_one_page?