[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aDDiWHUP8bKirsmo@gpd3>
Date: Fri, 23 May 2025 23:02:16 +0200
From: Andrea Righi <arighi@...dia.com>
To: Tejun Heo <tj@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, mingo@...hat.com,
juri.lelli@...hat.com, vincent.guittot@...aro.org,
dietmar.eggemann@....com, rostedt@...dmis.org, bsegall@...gle.com,
mgorman@...e.de, vschneid@...hat.com, rafael@...nel.org,
viresh.kumar@...aro.org, mathieu.desnoyers@...icios.com,
paulmck@...nel.org, hannes@...xchg.org, surenb@...gle.com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH] sched: Make clangd usable
On Fri, May 23, 2025 at 06:48:08AM -1000, Tejun Heo wrote:
> On Fri, May 23, 2025 at 06:43:48PM +0200, Peter Zijlstra wrote:
> >
> > Due to the weird Makefile setup of sched the various files do not
> > compile as stand alone units. The new generation of editors are trying
> > to do just this -- mostly to offer fancy things like completions but
> > also better syntax highlighting and code navigation.
> >
> > Specifically, I've been playing around with neovim and clangd.
> >
> > Setting up clangd on the kernel source is a giant pain in the arse
> > (this really should be improved), but once you do manage, you run into
> > dumb stuff like the above.
> >
> > Fix up the scheduler files to at least pretend to work.
> >
> > (this excludes ext because those include games are worse than average)
>
> Yeah, ext needs to move the stuff that's shared between ext.c and ext_idle.c
> into ext.h. cc: Andrea.
Ack, will take a look at ext_idle.c and do some cleanups.
Thanks,
-Andrea
Powered by blists - more mailing lists