[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <720D1AD7-112F-462F-9ECF-A060670D62D4@oracle.com>
Date: Wed, 23 Apr 2025 16:50:15 +0000
From: Libo Chen <libo.chen@...cle.com>
To: Steven Rostedt <rostedt@...dmis.org>
CC: "peterz@...radead.org" <peterz@...radead.org>,
"mgorman@...e.de"
<mgorman@...e.de>,
"mingo@...hat.com" <mingo@...hat.com>,
"juri.lelli@...hat.com" <juri.lelli@...hat.com>,
"vincent.guittot@...aro.org"
<vincent.guittot@...aro.org>,
"tj@...nel.org" <tj@...nel.org>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"llong@...hat.com"
<llong@...hat.com>,
"kprateek.nayak@....com" <kprateek.nayak@....com>,
"raghavendra.kt@....com" <raghavendra.kt@....com>,
"yu.c.chen@...el.com"
<yu.c.chen@...el.com>,
"tim.c.chen@...el.com" <tim.c.chen@...el.com>,
"vineethr@...ux.ibm.com" <vineethr@...ux.ibm.com>,
Chris Hyser
<chris.hyser@...cle.com>,
Daniel Jordan <daniel.m.jordan@...cle.com>,
Lorenzo
Stoakes <lorenzo.stoakes@...cle.com>,
"mkoutny@...e.com" <mkoutny@...e.com>,
Dhaval Giani <Dhaval.Giani@....com>,
"cgroups@...r.kernel.org"
<cgroups@...r.kernel.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 2/2] sched/numa: Add tracepoint that tracks the
skipping of numa balancing due to cpuset memory pinning
> On Apr 23, 2025, at 9:12 AM, Steven Rostedt <rostedt@...dmis.org> wrote:
>
> On Wed, 23 Apr 2025 16:05:44 +0000
> Libo Chen <libo.chen@...cle.com> wrote:
>
>> Also wondering if we can fail the build in this scenario so it will be easier to
>> catch this bug at the build time.
>
> return -EPONYS ;-)
>
> I wish. It's hard enough to catch this at runtime.
>
Correct me if I'm wrong but can you disallow any passed-in pointers to be
dereferenced when TP_printk() is executed? This is something you can check
at the build time, right?
Libo
> -- Steve
Powered by blists - more mailing lists