Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1611328pxb; Mon, 11 Oct 2021 09:27:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpQ7x+afoIzoUTFxzvh4Op2Km2zx5xZxw4cP+benG2mASD3UyNws8yhz7vIQ6aUHiGmKRD X-Received: by 2002:a17:906:c214:: with SMTP id d20mr26582986ejz.83.1633969639340; Mon, 11 Oct 2021 09:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633969639; cv=none; d=google.com; s=arc-20160816; b=bkMcogPzYG+ELbCGf9PFmw8UK+OTFng2LLg/bYpV4y2Z0vF44Eh2fW3fvP7DZoVmRc I8JAwogcgeDlUqCOlMcahhcURn64NyY97XaGgojU5yGSoRpfMpq7CUDCHtDnNUzFxMmx oxQ5m9n+vVpBOJoNBYGy9M5J3msweuj7fZ18bhj5Nn0cM8cA9rDgFf0jjf9c3Nie7bpn qNuLJnDFL6wPItL0moI2I78lQ6ZWd38xADAUBhXvFL6fulA5/dYyAQTnVc/40fWtYjRJ zF7IygE+j9Nyd/BOSysnB9B3n9Kh+pSL6uWxiDM2vT5A57kRzTw7w7GFRBBTUa0txou0 t6zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8R0yE/cxVHvwquZPbOltOEz0D9tBHQM+oAeyj/5Oe7w=; b=Z2yekpHmX0lRptkuxJVgqKia39iVc1JU4OX53Ms6mnhS2ngSt4sU+iOFIXfuD8rLVF fPtcG5ZWPQxy6htupZTvXC7sI5SBpRZNNFHRfAex/XxmFNFj9j5QFK7j+nlb/8JidV+j 1XvNVkGyQBw+9H7sF+i7SD5DgdCrpUr15t/+ECcR2YAYDU5X5d6TCI0v9OBZ/Sp8bmsT 3rpqCmFsKNR325KK2Wu539Qles6mZ/n4c0oiO/xBRryOUwHcrV4dRNay9j5c7LRLneDz I2621UOIgWtN0flp4dYXm97o0ivqyfwxs+QzY1GsswOTrGgmHd1hdhaNZH6a++E3HnVz 59eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FXzOL5LC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp18si11680838ejb.316.2021.10.11.09.26.56; Mon, 11 Oct 2021 09:27:19 -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; dkim=pass header.i=@linaro.org header.s=google header.b=FXzOL5LC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236584AbhJKMcF (ORCPT + 99 others); Mon, 11 Oct 2021 08:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236593AbhJKMcE (ORCPT ); Mon, 11 Oct 2021 08:32:04 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86416C06161C for ; Mon, 11 Oct 2021 05:30:04 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id z20so66995243edc.13 for ; Mon, 11 Oct 2021 05:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8R0yE/cxVHvwquZPbOltOEz0D9tBHQM+oAeyj/5Oe7w=; b=FXzOL5LCnisbrGuuwRWxxVgnOol92yY0RKTJyFSRNA1ojvkI4GQAWxO2KF+j+QRKsu u98Cb8IdU1MYdndfLNE1l03Rfo6rOjDQIhFBnZx4aWXvlrMf2Uv8gUk2ke5rqKeVxs3S YGtwOiVjbdzn4KlA/LfgSIA46/QELQHyML6B4VkL+h8zgu3VSCJio80xD755bgcHYYaz kEe6szTyd9eV//ngArOWp3CjAmjZZSC8TWLqdlsUD4nbcWS4g+bRCBit27oO6cU7653k GHdivWTSzwu+vG11755m46kgU3w6yjkSTmOb4etRTsbdTNZoZwVaFHueYGPfTOhMQghO tv8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8R0yE/cxVHvwquZPbOltOEz0D9tBHQM+oAeyj/5Oe7w=; b=eHb1RGNG0K3PPmzgC2kzOKGBKkYps32wfxLEsWyD1RQ7O23biLUUCqWDyazHTWxy8P sunvxind/o0eQ2v3JtIvDvpd0qr3X91zgEJlInyvfpU55we+Z7/Ihj8drJwqO/quON2F VLQwd4xcvGS4FrHnE4G573n6hpU1drYZhbC0nUTOsQ0v8IyjPLhycVUVfk58lU1nH8Pj D+o8j6CceiGojmnespUOwy87Kb7UU44OEMSS1tIVF+9BNrCht5grSWwFisYWjHN5Dvbm eNYyLFoo6zhMG+ASrmZ01eOLAIqYoOI/DEXvIjo94LPZ9xWo/R0Q9u9NNAmTq+5sEZ4p LZgA== X-Gm-Message-State: AOAM530qrnFvU8dw9KBJncprk03TDzUo37TkOIfEY7BaKOywT4g9NjCZ kkqBH3y096s50fVYX1E34EC8AA== X-Received: by 2002:a50:bf05:: with SMTP id f5mr40394285edk.156.1633955402530; Mon, 11 Oct 2021 05:30:02 -0700 (PDT) Received: from apalos.home (ppp-94-66-220-73.home.otenet.gr. [94.66.220.73]) by smtp.gmail.com with ESMTPSA id f26sm4159873edr.8.2021.10.11.05.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 05:30:02 -0700 (PDT) Date: Mon, 11 Oct 2021 15:29:58 +0300 From: Ilias Apalodimas To: Jesper Dangaard Brouer Cc: John Hubbard , Yunsheng Lin , davem@davemloft.net, kuba@kernel.org, brouer@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@openeuler.org, akpm@linux-foundation.org, hawk@kernel.org, peterz@infradead.org, yuzhao@google.com, will@kernel.org, willy@infradead.org, jgg@ziepe.ca, mcroce@microsoft.com, willemb@google.com, cong.wang@bytedance.com, pabeni@redhat.com, haokexin@gmail.com, nogikh@google.com, elver@google.com, memxor@gmail.com, vvs@virtuozzo.com, linux-mm@kvack.org, edumazet@google.com, alexander.duyck@gmail.com, dsahern@gmail.com Subject: Re: [PATCH net-next -v5 3/4] mm: introduce __get_page() and __put_page() Message-ID: References: <20211009093724.10539-1-linyunsheng@huawei.com> <20211009093724.10539-4-linyunsheng@huawei.com> <62106771-7d2a-3897-c318-79578360a88a@nvidia.com> <89bcc42a-ad95-e729-0748-bf394bf770be@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89bcc42a-ad95-e729-0748-bf394bf770be@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2021 at 02:25:08PM +0200, Jesper Dangaard Brouer wrote: > > > On 09/10/2021 21.49, John Hubbard wrote: > > So in case it's not clear, I'd like to request that you drop this one > > patch from your series. > > In my opinion as page_pool maintainer, you should also drop patch 4/4 from > this series. > > I like the first two patches, and they should be resend and can be applied > without too much further discussion. +1 That's what I hinted on the previous version. The patches right now go way beyond the spec of page pool. We are starting to change core networking functions and imho we need a lot more people involved in this discussion, than the ones participating already. As a general note and the reason I am so hesitant, is that we are starting to violate layers here (at least in my opinion). When the recycling was added, my main concern was to keep the network stack unaware (apart from the skb bit). Now suddenly we need to teach frag_ref/unref internal page pool counters and that doesn't feel right. We first need to prove the race can actually happen, before starting to change things. Regards /Ilias > > --Jesper >