To me as a non-kernel guy this doesn't sound very impressive..
[0] https://github.com/torvalds/linux/commit/d7822b1e24f2df5df98...
To me as a non-kernel guy this doesn't sound very impressive..
[0] https://github.com/torvalds/linux/commit/d7822b1e24f2df5df98...
As far as I know, the thread-local write only occurs if a rseq region is set. The added cost to a context switch seems essentially limited to a branch: https://github.com/torvalds/linux/commit/d7822b1e24f2df5df98...
The other benchmarks that were posted in the various threads leading to this merge looked fairly impressive to me.
Of the top of my head, jemalloc benefited a lot from this patchset, and not just on the run-time front: https://lkml.org/lkml/2016/10/10/332
The parent comment is not so much a put-down as much as it calls out a particularly unsophisticated dismissal. The parent-most comment would have elicited the same useful information if it were phrased as a question, but would have been less uncouth. I think that's a perfectly fine thing to write a comment about.