4 ms·
I think you're confusing a couple different issues... At the core, percpu variables/sections in the kernel are done exactly the same way as the TLS is implemen
by koverstreet 10y ago
I think you're confusing a couple different issues...
At the core, percpu variables/sections in the kernel are done exactly the same way as the TLS is implemented in userspace, except with gs instead of fs.
The thing that I'm complaining about is that on top of that, glibc is doing lazy allocation for no apparent (sane) reason.