Re: [PATCH v2 5/5] psi: introduce psi monitor
From: Peter Zijlstra <peterz@infradead.org>
Date: 2019-01-17 08:13:34
Also in:
linux-doc, linux-mm, lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2019-01-17 08:13:34
Also in:
linux-doc, linux-mm, lkml
On Wed, Jan 16, 2019 at 02:17:28PM -0500, Johannes Weiner wrote:
quoted
quoted
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..