Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp61833rdb; Wed, 29 Nov 2023 20:23:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+/csIJ6zXa9sAWYg5SG9gpmG+2Iy0DjpUBdKVzc7d73fVcYIsmaDn22pmFndCDluxYYVE X-Received: by 2002:a05:6a00:1993:b0:6cb:cdd0:76f7 with SMTP id d19-20020a056a00199300b006cbcdd076f7mr23301034pfl.21.1701318196453; Wed, 29 Nov 2023 20:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701318196; cv=none; d=google.com; s=arc-20160816; b=xtuWpGRL5SWhro1kKmY8se2Kq1o//CgyUXUl1WSp0CCbEYQeCYHmyu71VPaRPw+5ey pIkM5mmuLrpXkHwJHbeu0kUGy1mQotxvNozCXQP04zEXpWaLotBfk4GlMZ5oA4MY41rQ Kw3zlW49oMKgg6R0KUyBjP+zmJkhmOKGRwzPFkDAe0SmJGcrr8oXqZ8B7b9dHJrqOnwJ bZAS9Pu3zYGaSujyPtE6ZROxKjk0EZTzFeXSfWpaJjQe8DZk/wt+IiZi/As8yYuvSQkf Pr2XXWw//zhZRBEKxnlZqi0QyG3I0QoOAYf1HVRaptsGmotdnDNHkYGHsk4551mdmFfO Ty0g== 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=x+eeaRNO/rGE0u4WX9+mGBv3Fthr463UJOftswJR+tQ=; fh=aWa9tyepd0GWyBFjkZa5ys7uNwpZ1AjfSj0Mu1iuQbE=; b=Umi4VM0b2+CtRg57TprjMVOdpc48QQOTDZ/+SFZ/X/OnsubrRkj+SwU9Vvmim7XR28 lLB6bCxYMXGspWwU8Jk/2iwIxrS7DFHoj8SlnONa8xuAaKLmyQnOqdvNt04Ygp31pkii XvQ4EZc1HMGU3/3/drbe4+oT9cHFZAmWw+hUlVAbg+7uJ1ysyc4RLIyy21ox24+is0OK 9YsgA6DzmJq1NXxhGfO9FMdoZLMPMUGsHjWbtMAVQPxYwx93pdGNjvZXrH5XngCSAuU7 J6zJUkTOFxHGzVjwye+xhtMm7h0kAixp5JwNbMQwsQApppXFBR3M/o6a0MU+J8c+5jGy FzSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x16-20020a056a00189000b006bf0f06c31dsi364261pfh.166.2023.11.29.20.23.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 20:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 62CB2802A727; Wed, 29 Nov 2023 20:23:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231629AbjK3EXF convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 23:23:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230339AbjK3EXD (ORCPT ); Wed, 29 Nov 2023 23:23:03 -0500 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A61210C6; Wed, 29 Nov 2023 20:23:10 -0800 (PST) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6cd8ce7bf7fso567964b3a.0; Wed, 29 Nov 2023 20:23:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701318190; x=1701922990; 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=7Ru0HoM8F5gEi5lsp4Ae2vkSPRXvivIWKegDRC3hurM=; b=kLBfYqeZNz7bD6sjXU00r7eq75oRVmWXsNwYVxd4aEQEgeTMGcNEZTbwpPPTW7RJWg kb7qh8s/mEZTZ/9FeownuaQ4U7z51vuQeD6eQoxN6TtgkF6e273eVhcbvpcuQN6y+bFo L+7Np577fPitVjQZTRNQmLUkd1ZWeG6F/UcQMNYlxRs0bU0R1BSSAS60GDTixmPYl+8h T7JqzvqEp19ctX2LrAOGMg+U2FdNNC9E7W53Qag1A4VWpZJn6CawHQ4A8ob6LUpwuQgv 1r6e29HNlVaSpbEzHylI12lMob9B2m508+gzrkXM45QeQ33oK5qSCvYYNcV0BmFufAij uphw== X-Gm-Message-State: AOJu0YylKpoYvt+BR51pqqwk2VgomdA0SNWgWiaJj9oolN69Cycvq1Gc fFlGXVU6QXr20EGD8i4Poe5BnolvNH2KqFlyBA0= X-Received: by 2002:a05:6a20:54a8:b0:18c:3511:665f with SMTP id i40-20020a056a2054a800b0018c3511665fmr19591250pzk.51.1701318189821; Wed, 29 Nov 2023 20:23:09 -0800 (PST) MIME-Version: 1.0 References: <20231127220902.1315692-1-irogers@google.com> <20231127220902.1315692-12-irogers@google.com> In-Reply-To: <20231127220902.1315692-12-irogers@google.com> From: Namhyung Kim Date: Wed, 29 Nov 2023 20:22:58 -0800 Message-ID: Subject: Re: [PATCH v5 11/50] perf events: Remove scandir in thread synthesis 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.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 20:23:15 -0800 (PST) On Mon, Nov 27, 2023 at 2:09 PM Ian Rogers wrote: > > This avoids scanddir reading the directory into memory that's > allocated and instead allocates on the stack. > > Signed-off-by: Ian Rogers Acked-by: Namhyung Kim Thanks, Namhyung