Re: [PATCH v2 6/9] rcu: use __this_cpu_read helper instead ofper_cpu_ptr(p, raw_smp_processor_id())

From: Christoph Lameter
Date: Mon Nov 05 2012 - 09:48:54 EST


On Sun, 4 Nov 2012, Shan Wei wrote:

> __this_cpu_read<-----------------2
> 0000000000000000 <init_module>:
> 0: 55 push %rbp
> 1: 31 c0 xor %eax,%eax
> 3: 48 89 e5 mov %rsp,%rbp
> 6: 48 83 ec 10 sub $0x10,%rsp
> a: c9 leaveq
> b: c3 retq

?? There should be an operation using gs: here. This does not look
like code that includes a __this_cpu_read().

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/