Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp576232rwr; Wed, 3 May 2023 03:08:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BYshscGOTF4bRYy8PM8hTY0xDr+km8IGtgcyjsw/N0F1Tl0c9RwJOVciqoV2iJ8xZRf9g X-Received: by 2002:a17:90a:2ec7:b0:247:1997:6a1f with SMTP id h7-20020a17090a2ec700b0024719976a1fmr21664842pjs.12.1683108523456; Wed, 03 May 2023 03:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683108523; cv=none; d=google.com; s=arc-20160816; b=xCy/WJEcD7zfjrqNL57f2IAnl9mB5Qta95nJ6KCst8DDUDHKTO6fey3JzP8qFrjsW7 +qvl4jZnc8xJXe6q4vBNy2RpNCYKR0lskTP1JazoLy8Jd4eWocRwYwQKOJqheQA+6kRH zsU2lEpFPFiQ1J4Pj/JaMemfPpLCGM8weYuA3Vm0FuOpBphqxcZHcsUoMQIc0rwvcUKE DPPt/Lj6A9Q7Gzpuo4X6pFrB2a7A8ADup7mseHu5vf3QkJwvQgvxncnA95BENOtp60MR s211k6w6fTZep1WbFKKfmSSLcAKaHCPZZaD1092JdAeqW/wolesQSEEpCVMJF0dCFVyI vqqw== 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:dkim-signature:date; bh=sUxQsWcAayZPSDpvKJX6MVjvEYhxJEaesagDt8ESMoA=; b=kguemQVXNv434F+B2UNG16yW4weBjHoCyromonGAJJPZyrNy9rvPynGH9WERlWX+ul /XjAfc9uf6BvPJ5avnul3aijOF4ahBy5T6T/6dJS2SKXkP54TAPr1WxwN1wU4nmjGl7c AlF4Eb3WfN69kWcGRZW9oX13IXhOTQ4uSDfzzZMJRGbiISze71LoHQlXDjSkQ7T4VUJj mr+IfGwu7MWBL200J/SB1dOZ+POjXJa0H/bRjGKy5GWSoHXi5LFf+u7OOjjwNoW2Osyj BohHtVzaNRABGrPMSNERs1/6mmwyhsxhF3XmGHV/7P1srrtheKXia5uopI4555mjikJP LXKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="HUCOH/N8"; 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=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i8-20020a654848000000b005289d0633d6si16318051pgs.498.2023.05.03.03.08.31; Wed, 03 May 2023 03:08: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=@linux.dev header.s=key1 header.b="HUCOH/N8"; 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=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229754AbjECJ5e (ORCPT + 99 others); Wed, 3 May 2023 05:57:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbjECJ5d (ORCPT ); Wed, 3 May 2023 05:57:33 -0400 Received: from out-29.mta0.migadu.com (out-29.mta0.migadu.com [IPv6:2001:41d0:1004:224b::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF31F30D6 for ; Wed, 3 May 2023 02:57:28 -0700 (PDT) Date: Wed, 3 May 2023 05:57:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1683107846; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sUxQsWcAayZPSDpvKJX6MVjvEYhxJEaesagDt8ESMoA=; b=HUCOH/N80slFi5vErQvwXmQRVJPgvs7X0vQd0axDTlMk/yD6uS8UUgewhyEcC5YpGdd9lD Nfp4W/DmTbgBenfdi4cDwJFHiY7ZMVbWxr9EavpMuZfK1GaSdppyvarZLa7ZfejwjalZfu dEG41/SPqlqOodTMCQ2OgtLp+yIUXFg= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Petr =?utf-8?B?VGVzYcWZw61r?= 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: References: <20230501165450.15352-1-surenb@google.com> <20230503115051.30b8a97f@meshulam.tesarici.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230503115051.30b8a97f@meshulam.tesarici.cz> X-Migadu-Flow: FLOW_OUT 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_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, May 03, 2023 at 11:50:51AM +0200, Petr Tesařík 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. Also, since you're not actually a kernel contributor yet... It's not really good decorum to speculate in code review about things that can be answered by just reading the code. If you're going to comment, please do the necessary work to make sure you're saying something that makes sense.