Re: [patch V2 07/15] powerpc/ps3: Convert half completion to rcuwait

From
Christoph Hellwig <hch@infradead.org>
Date
2020-03-19 10:05:06
Also in
linux-pci, linux-usb, linux-wireless, linuxppc-dev, lkml
Reply to
Thomas Gleixner, 2020-03-18
On Wed, Mar 18, 2020 at 09:43:09PM +0100, Thomas Gleixner wrote:
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.
I think the right fix here is to jut convert the thing to a threaded
interrupt handler and kill off the stupid kthread.

But I wonder how alive the whole PS3 support is to start with..
Thread (72 messages) 72 messages, 17 authors, last reply 2020-03-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help