Re: [PATCH] proc: Disable /proc/$pid/wchan

From: Peter Zijlstra
Date: Fri Sep 24 2021 - 09:38:46 EST


On Thu, Sep 23, 2021 at 04:38:26PM -0700, Kees Cook wrote:
> On Thu, Sep 23, 2021 at 04:31:05PM -0700, Kees Cook wrote:

> If the fair scheduler would actually benefit from still using get_wchan,
> I think this patch:
> https://lore.kernel.org/all/20210831083625.59554-1-zhengqi.arch@xxxxxxxxxxxxx/
> should still be applied too.
>
> If not, we can rip get_wchan() out completely (across all
> architectures).

The scheduler doesn't care, it's kernel/profile.c and please kill that
right along with wchan, good riddance.