Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp19616rdb; Wed, 29 Nov 2023 18:16:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGoXiiv7LZSrZHtXgULpT0uMQqEknA/+EkJ1yTwC/5JrIIxsvgEkyKlduuJL74f5Nrvj8Xf X-Received: by 2002:a05:6a00:2d83:b0:6cd:e2fa:7b94 with SMTP id fb3-20020a056a002d8300b006cde2fa7b94mr1588482pfb.28.1701310613030; Wed, 29 Nov 2023 18:16:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701310613; cv=none; d=google.com; s=arc-20160816; b=BDAcwJNV4FxHCkTagajh3dcAKyge1yoRMTNPWzjg6WwuHnb+60SzbkvDKRkWVV3gZP hfyl8jOU+31D4IVbz299shl5YJaGIIKJj9jb/rl+1YG+bTZJt9HV14EqQHLGdTdTskuI PDim8nREcFfU8ITkbNUkSgNixM6/pj7fvz1bELHdoAQUcrCiThU4hxai8q0L4hs+6XIV iv9mTZ6b1mFPKqQ4szt1td3aPxuR0JYcrRMyTB0VzbZXJez21UKFqW59D3VBIiah27Iz tp33BqntinWsyMV8YWH+UbJa7pz97gluSwxKrzeFxbNFxP+05Ft1Rn+6IuYMlV6f3at0 RvaQ== 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; bh=YADkS2YymgVyKhxvJOSUxTTS6yVM5r7Jb0CYXnzE4vo=; fh=aWa9tyepd0GWyBFjkZa5ys7uNwpZ1AjfSj0Mu1iuQbE=; b=ow/3jxcuob/j6qvYCOkleVK9BMWuVHHxVMhMRMKTVtithmdZJ0ChGox8syle/ygCo8 EW864nD/Snas/WSUzapHRVnGdzbWAUr8Jh9m4fNXba8K0bs0D8hVQ+WFX+nR9kFL0uuB WFYVFQSKacHO+kt/wtb2DHZbQXIWt1LkKyfZ4TPW+LTzwV/UH0mhBUVa8/ar0hm6GweE AJ1RJwk7lFOVY3tuFoq04ReE6e8z5PKwo9EL5u5H/DQqDq+zJXaJOaHNvuFJ3l3cHF/8 o5rwwz7Ddv/9qyCMI/8t/ql+9VVXPeEFO7QdTjW3Drn1D9P+718h73iQrnBMwYxNes4R ZU7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b15-20020a056a000a8f00b006cde67e5101si174237pfl.55.2023.11.29.18.16.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 18:16:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EFC9280C3A13; Wed, 29 Nov 2023 18:16:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344014AbjK3CQg convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 21:16:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjK3CQf (ORCPT ); Wed, 29 Nov 2023 21:16:35 -0500 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EEB9D50; Wed, 29 Nov 2023 18:16:41 -0800 (PST) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-5c21e185df5so394977a12.1; Wed, 29 Nov 2023 18:16:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701310601; x=1701915401; 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=/VLuQtpdBc32KjxQOcjqDfowfS2XJTyc1MGIgZJtNMg=; b=kNDsS4nySjH3LJ0FdpxULxEkVwk2YzWNPwGoQNlWnsEc3KBf4OmzTkhWof/m9dZaBT apIZ/O6hna9RQvC9mXSg3k3d1f+igCp+zNbowv6MS8QO1bLSuVfQXNp/rMvNO3jgXDaX S5GndEMQPiM8Mi5NHNXJQRlRlzvg2JqOHgnKfg9FKuI0Xyt+XiZkrtUqr5uDsOqhSHA3 +9Rhd5YvOtC+K6Uz9PQs5G1h3PccxGZ1L4wro/MYNeOMUck30dDl4EwlOyIwP+8a8oPi iF0vVdJWS1ne2FTwOsZjwGTT5KNaZpHACc6Bolrt36l4TFzk1G1PeAD1rFkORw4dwo9H 4wmA== X-Gm-Message-State: AOJu0YyJbk0DUIBhVsX2B3105c7BCRaV229l3jPncR8wY1NNhcVWo2iz XgJkGFfS9716CQtLXiuWQCecbB8u4qvZg3Gtzuc= X-Received: by 2002:a17:90b:3808:b0:25e:a8ab:9157 with SMTP id mq8-20020a17090b380800b0025ea8ab9157mr20010117pjb.22.1701310600944; Wed, 29 Nov 2023 18:16:40 -0800 (PST) MIME-Version: 1.0 References: <20231127220902.1315692-1-irogers@google.com> <20231127220902.1315692-10-irogers@google.com> In-Reply-To: <20231127220902.1315692-10-irogers@google.com> From: Namhyung Kim Date: Wed, 29 Nov 2023 18:16:29 -0800 Message-ID: Subject: Re: [PATCH v5 09/50] perf pmu: Switch to io_dir__readdir To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Nick Terrell , Kan Liang , Andi Kleen , Kajol Jain , Athira Rajeev , Huacai Chen , Masami Hiramatsu , Vincent Whitchurch , "Steinar H. Gunderson" , Liam Howlett , Miguel Ojeda , Colin Ian King , Dmitrii Dolgov <9erthalion6@gmail.com>, Yang Jihong , Ming Wang , James Clark , K Prateek Nayak , Sean Christopherson , Leo Yan , Ravi Bangoria , German Gomez , Changbin Du , Paolo Bonzini , Li Dong , Sandipan Das , liuwenyu , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Guilherme Amadio Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 18:16:50 -0800 (PST) On Mon, Nov 27, 2023 at 2:09 PM Ian Rogers wrote: > > Avoid DIR allocations when scanning sysfs by using io_dir for the > readdir implementation, that allocates about 1kb on the stack. > > Signed-off-by: Ian Rogers Acked-by: Namhyung Kim Thanks, Namhyung