lkml.org 
[lkml]   [2023]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [BUG] KCSAN: data-race in process_one_work / process_one_work
    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.

    --
    tejun

    \
     
     \ /
      Last update: 2023-08-22 21:53    [W:2.883 / U:0.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site