[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3955287.1692002820@warthog.procyon.org.uk>
Date: Mon, 14 Aug 2023 09:47:00 +0100
From: David Howells <dhowells@...hat.com>
To: Hongchen Zhang <zhanghongchen@...ngson.cn>
Cc: dhowells@...hat.com, Alexander Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>,
Steve French <stfrench@...rosoft.com>,
Jens Axboe <axboe@...nel.dk>, David Disseldorp <ddiss@...e.de>,
Luis Chamberlain <mcgrof@...nel.org>,
Nick Alcock <nick.alcock@...cle.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
loongson-kernel@...ts.loongnix.cn
Subject: Re: [PATCH v5 2/2] pipe: use __pipe_{lock,unlock} instead of spinlock
Hongchen Zhang <zhanghongchen@...ngson.cn> wrote:
> - 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
Powered by blists - more mailing lists