Re: [tip:sched/core] sched/core: Optimize sched_feat() for !SCHED_DEBUG builds

From: Ingo Molnar
Date: Wed Nov 08 2017 - 05:04:13 EST



* tip-bot for Patrick Bellasi <tipbot@xxxxxxxxx> wrote:

> Commit-ID: 692ee9a79c14c9f707eeb03754a26b9427c0e005
> Gitweb: https://git.kernel.org/tip/692ee9a79c14c9f707eeb03754a26b9427c0e005
> Author: Patrick Bellasi <patrick.bellasi@xxxxxxx>
> AuthorDate: Tue, 7 Nov 2017 16:06:58 +0000
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> CommitDate: Wed, 8 Nov 2017 10:17:29 +0100
>
> sched/core: Optimize sched_feat() for !SCHED_DEBUG builds

Hm, I noticed this too late, but lots of architecture defconfig builds now produce
a ton of warnings:

In file included from /home/mingo/tip/kernel/sched/idle.c:19:0:
/home/mingo/tip/kernel/sched/sched.h:1275:33: warning: 'sysctl_sched_features' defined but not used [-Wunused-variable]
static const_debug unsigned int sysctl_sched_features =
^

I'm dropping this patch for now.

Thanks,

Ingo