Thread (12 messages) 12 messages, 4 authors, 2021-06-16

Re: [PATCH v2 2/7] sched: Introduce task_is_running()

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2021-06-11 08:50:11
Also in: lkml

Hoi Peter,

Thanks for your patch!

On Fri, Jun 11, 2021 at 10:36 AM Peter Zijlstra [off-list ref] wrote:
Replace a bunch of 'p->state == TASK_RUNNING' with a new helper:
task_is_running(p).
You're also sticking a READ_ONCE() in the helper, which wasn't done
by any of the old implementations? Care to mention why?
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
 arch/m68k/kernel/process.c     |    2 +-
Regardless:
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help