Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp607201rwr; Wed, 3 May 2023 03:41:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5K29tldXRXgFc04zt5UgAn/VgwtGWta0u9DMguwUj//Zo5+xgWkupj6nETMPfb3VYkyJn2 X-Received: by 2002:a05:6a00:1493:b0:63d:3411:f9e3 with SMTP id v19-20020a056a00149300b0063d3411f9e3mr30085535pfu.19.1683110503819; Wed, 03 May 2023 03:41:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683110503; cv=none; d=google.com; s=arc-20160816; b=eZS5eu2R+D6vwQq1bHqmqr5KWToj/jLzk62SxSezHTDADGrTknoLkfHE6MbPAPPNzl e5bNERdRHTDa9pWthWlkL8G/Gq37Mo72paAqz/dPzmdoW5AYikY86Sseinbh2i/vczz8 W/+cN+UIYZ8pxuosvKMoM14f2PSuP39WxrLzwbMo6jJf8sjEPi35bOZu868PrYLP+Jlw hgKf8ymPPLlrfDVX8lVX3B+h6hetpqIqQ3ULK9kbo+QV27TVW1vfQPWH1tBiT5lAPZ/b KbYcjoLeBd4XU1k9dyPww7cVYF19x7wz7yQqLHnz4BPEx4RJiTq6asYrnk5fAcA3BxCT r2Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9W2wun4Zj44NWzwdlLkMFEunLnmomS6UpnHu7fqlUvw=; b=fBBAcndBRWkQaXCWhF3yhhda/W2rVukTya8EdYuHmen4lpFHHmLSdj1t9Tn2zqnOcz qwrYdHAnqZEHHpP6U2jZMvxv2e2wrzJfpYd+yiaq7i6Uwmz/CFUvKmiVW+jhqKYsZChy sZoJDMbVOnUHj0ikT5gEm9H0lJXzGDwMRcSkgxnm5J2sMtW4VF8mokN9Ffeh4zK2vN70 lZCaDFvNMqRP12DKQCLl4PsMq5EEqblnbG6XxnR987kgS7lbolRHTk5ryl0ha0Z7f1GG gmFM5QKuvPN7JSrC/8K0kFAVnJ4m3nlTSY2bgra0tdbHEYxtbEHPhBhc9sMPFSAtivah AjLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b=RY1nRufp; 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=tesarici.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t189-20020a6381c6000000b005288d3c34f7si17526270pgd.195.2023.05.03.03.41.12; Wed, 03 May 2023 03:41:43 -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=@tesarici.cz header.s=mail header.b=RY1nRufp; 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=tesarici.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbjECK0f (ORCPT + 99 others); Wed, 3 May 2023 06:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjECK0e (ORCPT ); Wed, 3 May 2023 06:26:34 -0400 Received: from bee.tesarici.cz (bee.tesarici.cz [IPv6:2a03:3b40:fe:2d4::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD530E43; Wed, 3 May 2023 03:26:32 -0700 (PDT) Received: from meshulam.tesarici.cz (dynamic-2a00-1028-83b8-1e7a-4427-cc85-6706-c595.ipv6.o2.cz [IPv6:2a00:1028:83b8:1e7a:4427:cc85:6706:c595]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bee.tesarici.cz (Postfix) with ESMTPSA id D9EB814F410; Wed, 3 May 2023 12:26:28 +0200 (CEST) Authentication-Results: mail.tesarici.cz; dmarc=fail (p=none dis=none) header.from=tesarici.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tesarici.cz; s=mail; t=1683109589; bh=9W2wun4Zj44NWzwdlLkMFEunLnmomS6UpnHu7fqlUvw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RY1nRufpXdiSJQ6rfVk/v4uXA2nZbsCbrGxRIhqVdNwr8SIfDdtDY4wpCe25wFasl w1BqEtqFdb98ncldz5L5BfdQOK+IXjg4m5WZXUipUraWgQ4LLS5Gz4bTdhA7osONxZ brJ4ucZmtLQyFnfvdAZ/2DlN8eiuApZyh0ThEGxdVpqahbsNeXkBtQm8i8/xxb5K96 Lr9b6WGCJuYJeJTYx3TLMB66ZuisUQiGZ+/TINACO6wao1Sy5Fcc7O7Q9nQonYabtj 9YchQQBbTEKrFokXu+MNG5CEj9cmbPrhJUEj7whSRU/w3oH5u/ir9+J7QPH/q3iyEo YhK1QSLkJNUkg== Date: Wed, 3 May 2023 12:26:27 +0200 From: Petr =?UTF-8?B?VGVzYcWZw61r?= To: Kent Overstreet Cc: Michal Hocko , Suren Baghdasaryan , akpm@linux-foundation.org, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org Subject: Re: [PATCH 00/40] Memory allocation profiling Message-ID: <20230503122627.594ac4d9@meshulam.tesarici.cz> In-Reply-To: References: <20230501165450.15352-1-surenb@google.com> <20230503115051.30b8a97f@meshulam.tesarici.cz> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Wed, 3 May 2023 05:57:15 -0400 Kent Overstreet wrote: > On Wed, May 03, 2023 at 11:50:51AM +0200, Petr Tesa=C5=99=C3=ADk wrote: > > If anyone ever wants to use this code tagging framework for something > > else, they will also have to convert relevant functions to macros, > > slowly changing the kernel to a minefield where local identifiers, > > struct, union and enum tags, field names and labels must avoid name > > conflict with a tagged function. For now, I have to remember that > > alloc_pages is forbidden, but the list may grow. =20 >=20 > Also, since you're not actually a kernel contributor yet... I see, I've been around only since 2007... https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?= id=3D2a97468024fb5b6eccee2a67a7796485c829343a Petr T