Re: [PATCH 2/3] jump_label: Provide static_key_slow_inc_nohp()

From: Peter Zijlstra
Date: Tue Apr 18 2017 - 16:27:22 EST


On Tue, Apr 18, 2017 at 12:46:29PM -0400, Steven Rostedt wrote:
> On Tue, 18 Apr 2017 15:03:50 +0200
> Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> > +++ b/kernel/padata.c
> > @@ -1008,11 +1008,10 @@ static struct padata_instance *padata_al
> > * parallel workers.
> > *
> > * @wq: workqueue to use for the allocated padata instance
> > - *
> > - * Must be called from a get_online_cpus() protected region
>
> Find the comment redundant?

Once there's code that enforces it? Yes. Nobody reads comments
;-)