Messages in this thread | | | Date | Thu, 19 Mar 2015 11:16:13 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCHv2] mm/slub: fix lockups on PREEMPT && !SMP kernels |
| |
On Thu, 19 Mar 2015, Joonsoo Kim wrote:
> > I was under the impression that this_cpu operations would always result > > in an access, much like the *_ONCE accessors, so we should aways redo > > the access for this_cpu_read(s->cpu_slab->tid). Is that not the case? > > I'm not the expert on that operation. Christoph could answer it.
this_cpu_read() always generates a load via an asm instruction.
| |