Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26494561rwd; Mon, 3 Jul 2023 10:24:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KrTq/sZt38YbV8S8TmDGR3wd9ESK+IgbwAh15TP0LPhCoN84cEnIkhrmW9kXeMnXrwvkc X-Received: by 2002:a17:90a:fe17:b0:262:e589:678f with SMTP id ck23-20020a17090afe1700b00262e589678fmr17953012pjb.10.1688405053633; Mon, 03 Jul 2023 10:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688405053; cv=none; d=google.com; s=arc-20160816; b=W253AeZeflBQOPVbyycESuSMoKcZfVEeSq3AYBYRBSOOyGJctjJ+Wc/iavz+ygr7UA AJgPJVDnm7JHo7uT9LW8KgS/yOgXMc2hqekRHtBQSvIcQ+PppsnHgu0G2SGyilKRZ3QX GGwI0Qms7gIJCEO98wITuEI59m7OI6/KTqNotymUAGXQsizFkRtw+TaDnMmWGs0y33Ah c/rss9vJzXFBp7rM4Pr33CKXXdAu3WHlyQDIFxbhknKI+pOkxC806ihnfqWn3VPHACOi OhHAygmpHTPe4UfebNevX9VYN3bp1936R2vh03IHIxCQmALiO0fGh4M3379Sc7bBlaG7 yEJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=O2iHJSmnnxF29Ro2K2lEBKDHBSEStuWZBVC+tagVTag=; fh=D66Q6H5YREKs1OP/sfJnMGKXltsDAHC0fZ/qRywWXvA=; b=rXwEq24F1wcPwL9bMc4hB1/QAJm10nxPRSMC0t9uGmbzuu/voQBRXIm902F/gqbLQK YH3mDeVFj1RYh/qfCUKLmeMSRkLZa2R08EN0gca6nRhlntA1FxdNoU7LxTiBSWLob+Cp 7JKHdoz1Y4V2ix2iS5zvaFNvAvHt2vTV5cUStjoXNpvUyVvdPyQwpdurxyhY6bftWK2f i3OrgpHiSt8O0pel1o/P9tisqVjMGg2sIiHOgw6YI538uXKvfOYigPEItdZpiK0zSAyR ptyr3xvdGAEDnkGQN0WZnMc4t8QsntYgKkWYRgRH3YLbeg+UZdemiVOKoefC1zqSuuON Iy8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=47XOYlRJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gl3-20020a17090b120300b002635100d850si9516710pjb.178.2023.07.03.10.24.01; Mon, 03 Jul 2023 10:24:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=47XOYlRJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230515AbjGCRQH (ORCPT + 99 others); Mon, 3 Jul 2023 13:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230323AbjGCRQG (ORCPT ); Mon, 3 Jul 2023 13:16:06 -0400 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09ABBCD for ; Mon, 3 Jul 2023 10:16:01 -0700 (PDT) Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-4036bd4fff1so50281cf.0 for ; Mon, 03 Jul 2023 10:16:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1688404560; x=1690996560; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=O2iHJSmnnxF29Ro2K2lEBKDHBSEStuWZBVC+tagVTag=; b=47XOYlRJzFahe96ZqkfTmm/uIVH9PurvYcuJt2zic5EN3cnyH18zDOC2xCQbsXHg/L MBr2Jj89/s10fPaBK8ONh/qVH7j/ATWqW393YNi0265BIjkPPQxvp0lulXWG6lYjJqxC pfOCD5aZyBHRVyZZI92JMrnVt0yKXjXbRkEMQhxo2ndkUYajECq2IgK3/Yeev3o88h4B 24jQ5T4PDeaC4UtHsgrlhTBPZhU3OyR0pIvCwYtTELkRIwrF6BeyujE8LAs0acdbgI10 eF2YyczJpJLr4KQdLu9GkOkIA7zyBQifyhaI4Rcvmthi7Yoz5I+Z6u6bhZvZL5cOaCNq g4jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688404560; x=1690996560; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O2iHJSmnnxF29Ro2K2lEBKDHBSEStuWZBVC+tagVTag=; b=V7CDR3Yv/ermQhn16uWlHF7ocR7jS5sPfpwUzYcWA+t4tJajRxmOtGW5edfnU5FdWo 9hMEIRBfW1qHRTcUtmfr0hmTH03bONZ0WPipwTYYPs3H3sfjnQgTeUAORFb/gwVy5Go1 QmJosgJ8JT7CogN/QLCDP4GsiWsuvjRfntxuBLryRbpk/Fl75JI+xZg5e6LcCFNG2xBr gQc843mg/bLtVhAUEevmG8N0rI8q082loHRR9MN2gjUEulaJKW2IezDjsjdCc1uYaLtl Hnipy9qKoIRwTow4+pgGfdYS06oJw0187Bs/jQtmLRk6LI2TtH4JZ3SyUqxMQVw/Zwb+ nG/g== X-Gm-Message-State: ABy/qLb3qvBAweh1ZWSrXIHcLeaaRHCog/Y2h3a1gVxXInJAUbWODp+a 95K/d5It8D4Evj4R545qcowdp656oJlA62+m79KQMg== X-Received: by 2002:a05:622a:1705:b0:3fa:45ab:22a5 with SMTP id h5-20020a05622a170500b003fa45ab22a5mr298105qtk.27.1688404559885; Mon, 03 Jul 2023 10:15:59 -0700 (PDT) MIME-Version: 1.0 References: <20230612130256.4572-1-linyunsheng@huawei.com> <20230612130256.4572-5-linyunsheng@huawei.com> <20230614101954.30112d6e@kernel.org> <8c544cd9-00a3-2f17-bd04-13ca99136750@huawei.com> <20230615095100.35c5eb10@kernel.org> <908b8b17-f942-f909-61e6-276df52a5ad5@huawei.com> <72ccf224-7b45-76c5-5ca9-83e25112c9c6@redhat.com> <20230616122140.6e889357@kernel.org> <20230619110705.106ec599@kernel.org> <5e0ac5bb-2cfa-3b58-9503-1e161f3c9bd5@kernel.org> <47b79e77-461b-8fe9-41fb-b69a6b205ef2@kernel.org> In-Reply-To: <47b79e77-461b-8fe9-41fb-b69a6b205ef2@kernel.org> From: Eric Dumazet Date: Mon, 3 Jul 2023 19:15:48 +0200 Message-ID: Subject: Re: Memory providers multiplexing (Was: [PATCH net-next v4 4/5] page_pool: remove PP_FLAG_PAGE_FRAG flag) To: David Ahern Cc: Mina Almasry , Jakub Kicinski , Jesper Dangaard Brouer , brouer@redhat.com, Alexander Duyck , Yunsheng Lin , davem@davemloft.net, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Bianconi , Yisen Zhuang , Salil Mehta , Sunil Goutham , Geetha sowjanya , Subbaraya Sundeep , hariprasad , Saeed Mahameed , Leon Romanovsky , Felix Fietkau , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , Matthias Brugger , AngeloGioacchino Del Regno , Jesper Dangaard Brouer , Ilias Apalodimas , linux-rdma@vger.kernel.org, linux-wireless@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jonathan Lemon Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 3, 2023 at 4:45=E2=80=AFPM David Ahern wro= te: > That is my expectation. The tcpdump is just an easy example of accessing > the skb page frags. skb_copy_and_csum_bits used by icmp is another > example that can walk frags wanting access to device memory. You did not > cause a panic or trip a WARN_ON for example with the tcpdump? > ICMP packets do not land on the queues having devmem buffers, for obvious reasons. Only chosen TCP flows are steered to these queues.