[lkml]   [2018]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Restartable Sequences system call merged into Linux
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.


 \ /
  Last update: 2018-06-15 07:08    [W:0.158 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site