[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aDR_hptEDqSxf112@jlelli-thinkpadt14gen4.remote.csb>
Date: Mon, 26 May 2025 16:49:42 +0200
From: Juri Lelli <juri.lelli@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: mingo@...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, tj@...nel.org
Subject: Re: [PATCH] sched: Make clangd usable
Hi,
On 23/05/25 18:43, 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.
Me too very recently. :)
> 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)
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
This indeed works for me as well. Thanks!
Tested-by: Juri Lelli <juri.lelli@...hat.com>
Best,
Juri
Powered by blists - more mailing lists