* Andi Kleen ([EMAIL PROTECTED]) wrote:
> > Setting the thread flag being an atomic operation, I would expect
> > setting/clearing it asynchronously from another thread to be a valid
>
> It could be a very short stop. Also do you start kernel tracing that often?
>
It's not a matter of how often
> Setting the thread flag being an atomic operation, I would expect
> setting/clearing it asynchronously from another thread to be a valid
It could be a very short stop. Also do you start kernel tracing that often?
> Here is a modified version where I add my test only in the path where we
> know
* Andi Kleen ([EMAIL PROTECTED]) wrote:
> Mathieu Desnoyers <[EMAIL PROTECTED]> writes:
>
> > We make sure that the thread flag read is coherent between our new test and
> > the ALLWORK_MASK test by first saving it in a register used for both
> > comparisons.
> >
>
> That doesn't make sense. If
Mathieu Desnoyers <[EMAIL PROTECTED]> writes:
> We make sure that the thread flag read is coherent between our new test and
> the ALLWORK_MASK test by first saving it in a register used for both
> comparisons.
>
That doesn't make sense. If someone is setting those asynchronously you
can always
Fix x86_64 TIF_SYSCALL_TRACE race in entry.S
When the flag is inactive upon syscall entry and concurrently activated before
exit, we seem to reach a state where the top of stack is incorrect upon return
to user space.
Fix this by fixing the top of stack and jumping to int_ret_from_sys_call if we
5 matches
Mail list logo