[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <db2410e2-1f1a-b396-10d1-1df3ec061b78@kernel.dk>
Date: Sun, 11 Jul 2021 20:44:20 -0600
From: Jens Axboe <axboe@...nel.dk>
To: zhenguo yao <yaozhenguo1@...il.com>
Cc: oleg@...hat.com, linux-kernel@...r.kernel.org, yaozhenguo@...com
Subject: Re: [PATCH] task_work: return -EBUSY when adding same work
On 7/11/21 8:13 PM, zhenguo yao wrote:
> Yes I hit this condition. The caller is queue_task_work in
> arch/x86/kernel/cpu/mce/core.c.
> It is really a BUG. I have submitted another patch to fix it:
> https://lkml.org/lkml/2021/7/9/186.
That patch seems broken, what happens if mce_kill_me is added already,
but it isn't the first work item in the list?
--
Jens Axboe
Powered by blists - more mailing lists