Hongchen Zhang <zhanghongchen@xxxxxxxxxxx> wrote:I changed the code and the post_one_notification is not called inside spin lock ,please check this patch again.
- spin_lock_irq(&pipe->rd_wait.lock);
+ __pipe_lock(pipe);
This mustn't sleep. post_one_notification() needs to be callable with a
spinlock held.
David