Re: [PATCH] sched/core: add taint on "BUG: sleeping function called from invalid context"

From: Thomas Gleixner
Date: Fri Jul 29 2016 - 09:04:05 EST


On Fri, 29 Jul 2016, Rusty Russell wrote:
> Vegard Nossum <vegard.nossum@xxxxxxxxxx> writes:
> > Seeing this, it occurs to me that we should probably add a taint here:
>
> Taint has traditionally meant "the user did something unsupported, take
> the bug report with a grain of salt". Such as force removing a module.

We have changed the meaning of taint quite some time ago. It also denotes
e.g. that there was a bug, warning etc. So it's not necessarily 'user did
something wrong'.

It's very helpful to see that there was already a warnon/bug before the
backtrace you get from the reporter.

Thanks,

tglx