Re: [GIT PULL] s390 fixes for 7.3-rc2
From: Linus Torvalds
Date: Thu Sep 03 2026 - 14:01:53 EST
On Thu, 3 Sept 2026 at 10:11, Heiko Carstens <hca@xxxxxxxxxxxxx> wrote:
>
> - Use jiffies instead of jiffies_64 to address a data-race reported by
> KCSAN
I went all "Whaa?" on this - that makes no sense. Isn't s390 now all
64-bit, and there should be no data-race..
This seems to be entirely due to the fact that 'jiffies_64' isn't
marked volatile, so KCSAN complains about lack of locking. There's no
real data race as far as I can tell.
I can't recall why jiffies_64 isn't marked volatile. It may be just an
oversight. And it may be a "it caused gcc to generate crap code on
32-bit architectures". Or it may be something else.
But I think we should probably just fix jiffies_64, instead of having
bogus "make KCSAN happy" commits.
I have pulled your tree - it's not like any of this is *important*, it
was just confusing to me.
Linus