Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1476618rwl; Fri, 31 Mar 2023 11:42:14 -0700 (PDT) X-Google-Smtp-Source: AKy350Y020ESCBN9YataxpJaWUUf0opWg63OJXrC7ng9KYX2vDCF6ds3bdxiOlXMbq8FNXBfu6Qp X-Received: by 2002:a17:906:74ca:b0:932:efa8:28fa with SMTP id z10-20020a17090674ca00b00932efa828famr24498662ejl.2.1680288133817; Fri, 31 Mar 2023 11:42:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680288133; cv=none; d=google.com; s=arc-20160816; b=xy88WXmarLQwpVt6TOhRfD7+qHrMT9QoaGrGEJ3+WwKChepYexfayoZ84hZQRhH/ss JSMMBSm+v4z+fJ5+bnu/LsTLUWvsKgQ7G+WokyC+luNEieclrETetJ/9xGUWC03aOPGu XDqZdI0EG6+rdXRhOTbMywl2NQXYE2fXzVH4Z6Ua0vdZVYiLztpErz+Ly4q6UQwJNFZ3 R2BgsiijMrKt7RQx1pf+chk4kGY5rMQR4QRfD0ofjiGk00cuHVU/6krqrAAoL1Eu5wLG jG45Pwp7RuLaLRB+HoLpBLJApVLXmmN893NtL+VAmyp8YwSSIrHAwPFVqZuemOUf7bIW iocg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YE7GfOrERWcu2MD4hsCVsKkg8asC+YWQG3+Pv6uwbqk=; b=kgn8l5vWCx1y2PsAf0VF07DwmjKVzh8AdXmX+QI3M2mY0Sgdc1tROXnqvLFkbQ6Jos 3Z3jCnk3w32H2nukefm2hqlTvnnweJkXrLxZ5K07iiEhdoyKTkEE2XaniYSfj9TxLdYn DlLrkVMmc+41uN9xyxun6vV4PYVmVR9k4pUXKU/+M+urIt/oYb0oLFz5bPtn0f877uLj UFzgyJO9u5xvBMDcP/jsCgGJ1FyS2TFZ0Twh42A2/TXvOmv239wSIV+Rj1ecvYCvqRNd VBPYryS+f9f2U0MNKuSoLg/r6HRn87is+s/pB9ivI2Og7u7H5DjueTiQxk3TawGpiMWS VKJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=uEqp76fQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n20-20020a1709061d1400b0093149d8926csi1418983ejh.335.2023.03.31.11.41.48; Fri, 31 Mar 2023 11:42: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=@infradead.org header.s=casper.20170209 header.b=uEqp76fQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232324AbjCaSgp (ORCPT + 99 others); Fri, 31 Mar 2023 14:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231159AbjCaSgo (ORCPT ); Fri, 31 Mar 2023 14:36:44 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FFD51CBA0; Fri, 31 Mar 2023 11:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=YE7GfOrERWcu2MD4hsCVsKkg8asC+YWQG3+Pv6uwbqk=; b=uEqp76fQYC/dZmRiYmKKO0zAom ZoB3UFNy+UtNl5yJRIrqU/CTlfpVSM+gJ7zG/HAQIPWEJKwiQZp9pVmGtTigRksP0GieeeGZa5Xd+ HCDdjUd8/Wpi0h5ogPOJYaVs9rCqika3mc+IAnnS4JggKcEso9vLel1P3BD3jTBu4lZJsmnoaxqhr UiKc4Zy8F9bFcGyS0KOp7N/uzpEcu9BMY20AwDyBb7iRwvwqd294PwuxZkNc1AeDT3zidgzxhYbl6 sXNyqw9Z0s1kSTtkYMbGBS/3WhW2jrgyMQEUtJSVcZ9uuH/76BKCypqP1kwXRA9aZ6NiYJKUcVe7w ow6TpxuQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1piJbx-00BfMF-56; Fri, 31 Mar 2023 18:36:29 +0000 Date: Fri, 31 Mar 2023 19:36:29 +0100 From: Matthew Wilcox To: Andrii Nakryiko Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Alexei Starovoitov , Andrii Nakryiko , Hao Luo , Andrew Morton , Alexander Viro , Peter Zijlstra , Ingo Molnar , bpf@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-perf-users@vger.kernel.org, Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Daniel Borkmann , Namhyung Kim , Dave Chinner Subject: Re: [PATCHv3 bpf-next 0/9] mm/bpf/perf: Store build id in file object Message-ID: References: <20230316170149.4106586-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 Fri, Mar 31, 2023 at 11:19:45AM -0700, Andrii Nakryiko wrote: > On Wed, Mar 22, 2023 at 8:45 AM Arnaldo Carvalho de Melo > wrote: > > Having said that, it seems there will be no extra memory overhead at > > least for a fedora:36 x86_64 kernel: > > Makes sense to me as well. Whatever the solution, as long as it's > usable from NMI contexts would be fine for the purposes of fetching > build ID. It would be good to hear from folks that are opposing adding > a pointer field to struct file whether they prefer this way instead? Still no. While it may not take up any room right now, this will surely not be the last thing added to struct file. When something which is genuinely useful needs to be added, that person should not have to sort out your mess first, NAK now, NAK tomorrow, NAK forever. Al told you how you could do it without trampling on core data structures.