From linux-kernel Sun Apr 28 18:50:14 2024 From: Linus Torvalds Date: Sun, 28 Apr 2024 18:50:14 +0000 To: linux-kernel Subject: Re: [PATCH v3] tty: tty_io: remove hung_up_tty_fops Message-Id: X-MARC-Message: https://marc.info/?l=linux-kernel&m=171433006323054 On Sun, 28 Apr 2024 at 03:20, Tetsuo Handa wrote: > > > If we keep the current model, WRITE_ONCE() is not sufficient. > > My understanding is that KCSAN's report like I find it obnoxious that these are NOT REAL PROBLEMS. It's KCSAN that is broken and doesn't allow us to just tell it to sanely ignore things. I don't want to add stupid and pointless annotations for a broken tooling. Can you instead just ask the KCSAN people to have some mode where we can annotate a pointer as a "use one or the other", and just shut that thing up that way? Because no, we're not adding some idiotic "f_op()" wrapper just to shut KCSAN up about a non-issue. Linus