TLS, was Re: Getting the ol' Macintosh LC475 modernized
Quoted 8 lines · Joseph S. Myers
Quoted 4 lines · Finn Thain
Losing a register also hurts performance. Someone suggested moving get/set_thread_area to a VDSO (as well as the atomic ops). As I understand it, this need not break the ABI and should be faster than the TLS system calls.
The vDSO support has been there in glibc ever since the NPTL port was first added. I've no idea why the kernel changes still haven't gone in.
I didn't know that. Seems to be recent work, cfr.
https://github.com/Xilinx/glibc/blob/master/ports/ChangeLog.m68k ?
Where can I find the kernel changes?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 5 lines · Geert Uytterhoeven
Quoted 2 lines
The vDSO support has been there in glibc ever since the NPTL port was first added. I've no idea why the kernel changes still haven't gone in.
I didn't know that. Seems to be recent work, cfr.
https://github.com/Xilinx/glibc/blob/master/ports/ChangeLog.m68k ?
It dates back to the original 2010-03-09 addition of NPTL support.
Quoted 1 line
Where can I find the kernel changes?
I don't know where such changes may have originally been posted but e.g. one version appears to be at
<https://dev.openwrt.org/browser/trunk/target/linux/coldfire/patches/012-Add-vDSO-support-for-Coldfire-platform.patch?rev=31546>.
Signature · 2 lines
Joseph S. Myers [email protected]
Quoted 9 lines · Joseph S. Myers
Quoted 5 lines · Geert Uytterhoeven
Quoted 2 lines
The vDSO support has been there in glibc ever since the NPTL port was first added. I've no idea why the kernel changes still haven't gone in.
I didn't know that. Seems to be recent work, cfr.
https://github.com/Xilinx/glibc/blob/master/ports/ChangeLog.m68k ?It dates back to the original 2010-03-09 addition of NPTL support.
Ah yes, further in the log...
Quoted 5 lines
Quoted 1 line
Where can I find the kernel changes?
I don't know where such changes may have originally been posted but e.g. one version appears to be at
<https://dev.openwrt.org/browser/trunk/target/linux/coldfire/patches/012-Add-vDSO-support-for-Coldfire-platform.patch?rev=31546>.
Thanks!
I (Google) can't find any evidence of them ever being posted to a public list. They seem to have entered OpenWRT without any discussion on [email protected] (yes, I'm subscribed)...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds