[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <12ceee3a-44ed-4e70-99f2-c082282dae12@alu.unizg.hr>
Date: Wed, 23 Aug 2023 11:04:44 +0200
From: Mirsad Todorovac <mirsad.todorovac@....unizg.hr>
To: Tejun Heo <tj@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Lai Jiangshan <jiangshanlai@...il.com>
Subject: Re: [BUG] KCSAN: data-race in process_one_work / process_one_work
On 8/22/23 21:52, Tejun Heo wrote:
> On Fri, Aug 18, 2023 at 01:58:27PM +0200, Mirsad Todorovac wrote:
>> Just as an exercise, this seems to work, but it is probably not very clean and not very scalable:
>
> pwq is already per-cpu. It's not strictly accessed per-cpu because workers
> can go unbound but given that it's a stat counter, that doesn't really
> matter all that much. Sounds like it should be marked so that kcsan ignores
> it.
>
> Thanks.
Hi, Mr. Heo,
Not at all.
Thanks for your review. The patch closed the KCSAN report, so I thought something was happening.
Kind regards,
Mirsad Todorovac
Powered by blists - more mailing lists