Re: vmstat: On demand vmstat workers V8

From: Peter Zijlstra
Date: Tue Jul 29 2014 - 03:56:56 EST


On Mon, Jul 28, 2014 at 01:55:17PM -0500, Christoph Lameter wrote:
> On Fri, 25 Jul 2014, Sasha Levin wrote:
>
> > This patch doesn't interact well with my fuzzing setup. I'm seeing
> > the following:
> >
> > [ 490.446927] BUG: using __this_cpu_read() in preemptible [00000000] code: kworker/16:1/7368
> > [ 490.447909] caller is __this_cpu_preempt_check+0x13/0x20
>
> __this_cpu_read() from vmstat_update is only called from a kworker that
> is bound to a single cpu. A false positive?

kworkers are never guaranteed to be so, its a 'feature' :/

Attachment: pgpvIGc_VEmz5.pgp
Description: PGP signature