Re: [musl] Re: [RFC PATCH] x86/vdso/32: Add AT_SYSINFO cancellation helpers

From: Szabolcs Nagy
Date: Wed Mar 09 2016 - 06:41:04 EST


* Szabolcs Nagy <nsz@xxxxxxxxxx> [2016-03-09 12:34:50 +0100]:
> * Ingo Molnar <mingo@xxxxxxxxxx> [2016-03-09 09:56:31 +0100]:
> > Why is so much complexity added to avoid a ~3 instructions window where
> > calcellation is tested? Cancellation at work atom boundaries is a fundamentally
> > 'polling' model anyway, and signal delivery is asynchronous, with a fundamental
> > IPI delay if it's cross-CPU.
> >
>
> to avoid the race when the thread is cancelled after the test but before
> the syscall see http://ewontfix.com/16/
>
wrong link
http://ewontfix.com/2/