Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3190034pxk; Mon, 21 Sep 2020 07:28:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOsZbgo6lVYOeXv2qM4NPkFOTfYqahXvrw8IeAQH+FXVGpwPYRxfGxWA5WpLXfPBm+CbdW X-Received: by 2002:a50:a418:: with SMTP id u24mr53264515edb.103.1600698531151; Mon, 21 Sep 2020 07:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600698531; cv=none; d=google.com; s=arc-20160816; b=F3NlC1CJ2r13lU1Jix3Bdhkb+ILf5cwNiKEgatzyi9sk2LZWBo2Ghtv1PuK4NOO6Xu gPjsGNPTVoiZzFZuc3mnbfuBpIp2aAyDxGt7diMxvMvx+hGJYj+m03eGf0HoaudY4fs5 Y03Hrv8F6Abiwhp1Efe6twMdW/E5hlSOW266HECVYG2c21p2KXKzTW7kzghgpg6mOmc/ aczEheszqAvNHsesWBj4fkI7+2ehgSwojD02bctY+/uG6xnpivGtnoppzdvDsArcLi+A EU+2kMgcsoV6dKjQ9hVqim8tDQo4k4cY0OyWvaaI83q0aUYUmvv65azNppkOIJGaGsHn Loqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BtqsvdybVCY0kDgj0yxEfe5wDzZKoc7rjB0rABugU4c=; b=AIpTAsC5ONYPsRFfzIWNG5gb+lSwpj0gh0EaP/VqUTaF9Lt3dzGNgYUxoS/ynub0o9 1YLXH8WwY9nbECMkSzgF3xcPhbH/BGvxQ4Ca+p3WhF+Dbo/MZNZOnS81w5e4+N/xgABk 7CQxWEAW/uI0dxktwp8yDa5QkDJJsvlUxoDo7ABIK5LOM3mTTxQPy8uS/QZnw0lZQPWd Ore0oUQUtZNLaxPbdStS773valn8drNqFZZA+IGbn6USfZv+k9zAoHXTUXQK4LC2D+HS 6OeGwC96bksTvRzic4gBgc2CzCiIuml8Xy/MaiWrGEpEX1cMmocVLiY/mevuS5ftq0np YaGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si8391280ejg.134.2020.09.21.07.28.25; Mon, 21 Sep 2020 07:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727109AbgIUO0B (ORCPT + 99 others); Mon, 21 Sep 2020 10:26:01 -0400 Received: from verein.lst.de ([213.95.11.211]:40266 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726395AbgIUO0B (ORCPT ); Mon, 21 Sep 2020 10:26:01 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 241E068B02; Mon, 21 Sep 2020 16:25:58 +0200 (CEST) Date: Mon, 21 Sep 2020 16:25:57 +0200 From: Christoph Hellwig To: Coly Li Cc: David Miller , hch@lst.de, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: bypass ->sendpage for slab pages Message-ID: <20200921142557.GA16775@lst.de> References: <20200819051945.1797088-1-hch@lst.de> <20200819.120709.1311664171016372891.davem@davemloft.net> <20200820043744.GA4349@lst.de> <20200821.141400.594703865403700191.davem@davemloft.net> <903c7e2c-100f-267f-efd8-b0b3345dc918@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <903c7e2c-100f-267f-efd8-b0b3345dc918@suse.de> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?