Messages in this thread | | | Subject | Re: Restartable Sequences system call merged into Linux | From | Florian Weimer <> | Date | Fri, 15 Jun 2018 07:07:01 +0200 |
| |
On 06/14/2018 02:27 PM, Pavel Machek wrote:
>>> Should we treat it the same way? Always allocate it for each new thread >>> and register it with the kernel? >> >> That would be an efficient way to do it, indeed. There is very little >> performance overhead to have rseq registered for all threads, whether or >> not they intend to run rseq critical sections. > > People with slow / low memory machines would prefer not to see > overhead they don't need...
I can try to get rid of the >500 byte per-thread area for the stub resolver. That should compensate for the overhead introduced.
Thanks, Florian
| |