, Nicolas Pitre n...@fluxnic.net wrote:
On Fri, 8 Apr 2011, Li Li wrote:
Dears,
I cannot understand how TLS EMU ensure it's SMP safe, because get_tls
helper (at 0x0fe0) just read the value from 0x0ff0. But all
SMP cores should have the exact same mapping to the vectors page
Ah, I see. That's why I saw abnormal behavior when I enabled TLS EMU
on an ARMv7 SMP SOC. Many thanks! :)
On Fri, Apr 8, 2011 at 10:35 PM, Jamie Lokier ja...@shareable.org wrote:
Li Li wrote:
Nicolas,
Thanks for the explanation. :)
I noticed what you mentioned. Actually, Kconfig says TLS
Dears,
I cannot understand how TLS EMU ensure it's SMP safe, because get_tls
helper (at 0x0fe0) just read the value from 0x0ff0. But all
SMP cores should have the exact same mapping to the vectors page (at
0x). So various threads running on different SMP cores at the
same time