Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12200697rwd; Fri, 23 Jun 2023 02:50:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7NOMcuHLvoIZEQqZ4N+r3qqKQStAY9K760m8dvb40KKgBffju6lcaviqfvpGPnvzkHgXXS X-Received: by 2002:a05:6a20:938b:b0:e9:5b0a:deff with SMTP id x11-20020a056a20938b00b000e95b0adeffmr21080165pzh.22.1687513842311; Fri, 23 Jun 2023 02:50:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687513842; cv=none; d=google.com; s=arc-20160816; b=X4m0GzW8YfXCfq3LC8EOAn4pHwlISMvn4u8iQHAGqiwlSHzYnrBwps0+ERh9/KlujG sPbkE2bMSD6GB0VOlCwQTeNH8Gabz9gYEEEOUgww8ggqeu0mO12u/HfK65gT218hIvSL LLmbkKcGOW3xpAjkVLL3o8wTcyKdcfq1yhYfr7e2dYl16F+5Soby59JLMWK04i3LMlCT mk+MlreCEDAJ3p+l4QeUf/23ueIZML23o2zDe77GT0Y3GIErolRdfpcw/SEICtqaXBnX 4lOaeasEm7w2C1xG2ZqKNvqD/IEULL0Z3o84gv6GS6kqmwy4DZ6IUXWx8oFhhKU403uw DGFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=7bhDod7bOodPKlDwEZ8o/bZlFM66QHRdXKlWqLMP49I=; b=XbA8gWTIKLf1MsJWkto/SiF5viFNuBAoETZR0v59UeqI+jMVODy5zTQyQJdsDb1Xhh Yd4QU0Awdvcpp0CEFHz/9NPAfGKW5abSjC3Ym5mzg0ljaTiDVkE7uPfTue83kSlBZse5 pF7GGDPCSKYVaxqyJV7AbMtrGPtpLsJ36PghFKEHIOtIjz8DBtaMA3ZwKi1ylEa7nXRG 8rsMOOTiy00YLf1fib40F0rNfRCRRkqaKUFejey8o7O5E6BYjnDgTzvUvO9BAAwcgqlN mBnUvpk/QQCZXFq4ZNSaHfBjOldFHGI1hhly+BgmMR+BMlDNX+vGW/8mx0I00jt+BKDA gnVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=By+4ciOM; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020a170902d1d400b001b061af0599si2157818plb.340.2023.06.23.02.50.30; Fri, 23 Jun 2023 02:50:42 -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=@redhat.com header.s=mimecast20190719 header.b=By+4ciOM; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231329AbjFWJnq (ORCPT + 99 others); Fri, 23 Jun 2023 05:43:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbjFWJnn (ORCPT ); Fri, 23 Jun 2023 05:43:43 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3C36E75 for ; Fri, 23 Jun 2023 02:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687513378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7bhDod7bOodPKlDwEZ8o/bZlFM66QHRdXKlWqLMP49I=; b=By+4ciOMFG1qJFaJJrd2pt+BjUGKNMnKc2yt1ReaSKKZdz0zpMa+opSM30hgQjNflSzgAu mzu1n0BmPguRc5NNTb45lOWJolfyv5XgO3ejjdD5281G2U/oImBdHkcoB5jqgZeqJNg9Q8 kzlDPe//dPAqHj1W8rofPIzoFo89u5k= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-460--V30Opo5M3KFg4FLRsjnPw-1; Fri, 23 Jun 2023 05:42:51 -0400 X-MC-Unique: -V30Opo5M3KFg4FLRsjnPw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C5D5C858F1E; Fri, 23 Jun 2023 09:42:50 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3F98341EF82; Fri, 23 Jun 2023 09:42:49 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <2ee000f803bd1a099aa8fb02ef79c7b25e5f5b08.camel@redhat.com> References: <2ee000f803bd1a099aa8fb02ef79c7b25e5f5b08.camel@redhat.com> <20230620145338.1300897-1-dhowells@redhat.com> <20230620145338.1300897-3-dhowells@redhat.com> To: Paolo Abeni Cc: dhowells@redhat.com, netdev@vger.kernel.org, Alexander Duyck , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Menglong Dong Subject: Re: [PATCH net-next v3 02/18] net: Display info about MSG_SPLICE_PAGES memory handling in proc MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2046312.1687513368.1@warthog.procyon.org.uk> Date: Fri, 23 Jun 2023 10:42:48 +0100 Message-ID: <2046314.1687513368@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Paolo Abeni wrote: > Have you considered percpu counters instead of the above atomics? Makes sense, since I've got per-cpu structs anyway. David