Thread (9 messages) 9 messages, 3 authors, 2020-02-20

Re: [PATCH 1/3] bcache: ignore pending signals when creating gc and allocator thread

From: Christoph Hellwig <hch@infradead.org>
Date: 2020-02-20 16:38:06
Also in: linux-bcache

On Thu, Feb 20, 2020 at 09:20:49PM +0800, Coly Li wrote:
Therefore I need to explicitly call pending_signal() before calling
kthread_run().
Right now you have to.  But the proper fix is to not require this and
fix kthread_run to work from a thread that has been selected by the OOM
killer.  In the most trivial version by moving your code into
kthread_run, but there probably are better ways as well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help