Re: BUG: Global FPU corruption in 2.2

Victor Zandy (zandy@cs.wisc.edu)
24 Apr 2001 13:21:41 -0500


Linus Torvalds writes:
> Ahh.. This actually _does_ look like a race on "current->flags":
> PTRACE_ATTACH will do a
>
> child->flags |= PF_PTRACED;
>
> without waiting for the child to have stopped.

I can see how this could case PF_USEDFPU to be cleared inadvertently,
but I do not have any ideas for testing this. Is it clear that this
is the source of the problem?

What would be involved in backporting the split ptrace flags to 2.2?
Are there other solutions?

Vic
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/