On Wed, Jan 16, 2019 at 02:17:28PM -0500, Johannes Weiner wrote: > > > Also, you probably want to use atomic_t for g->polling, because we > > > (sadly) have architectures where regular stores and atomic ops don't > > > work 'right'. > > > > Oh, I see. Will do. Thanks! > > Yikes, that's news to me too. Good to know. See Documentation/atomic_t.txt, specifically the atomic_set() part in SEMANTICS. Archs that suffer this include (but are not limited to): parisc, sparc32-smp, something arc. And yes, I would dearly love to kill all SMP support for architectures like that..