]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ps3: Convert half completion to rcuwait
authorPeter Zijlstra (Intel) <peterz@infradead.org>
Sat, 21 Mar 2020 11:25:56 +0000 (12:25 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 21 Mar 2020 15:00:22 +0000 (16:00 +0100)
commitb3f0464f153097c5f1d4e503ea9ccc4101d0d298
treeb00284dc7adc91c25baef1ffbe53efd652be03d5
parentab9fcf61fe1db5dcf0ca9002e7b7420131c954d1
powerpc/ps3: Convert half completion to rcuwait

The PS3 notification interrupt and kthread use a hacked up completion to
communicate. Since we're wanting to change the completion implementation and
this is abuse anyway, replace it with a simple rcuwait since there is only ever
the one waiter.

AFAICT the kthread uses TASK_INTERRUPTIBLE to not increase loadavg, kthreads
cannot receive signals by default and this one doesn't look different. Use
TASK_IDLE instead.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200321113241.930037873@linutronix.de
arch/powerpc/platforms/ps3/device-init.c