[Bug sanitizer/88400] address-sanitizer on the cpu with only one core, may deadlock

He.Hongjun at zte dot com.cn gcc-bugzilla@gcc.gnu.org
Fri Dec 7 09:08:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88400

--- Comment #4 from hhj <He.Hongjun at zte dot com.cn> ---
(In reply to Andrew Pinski from comment #3)
> Also this seems like it is an upstream issue too.

This is how we handle it.
When the parent's sched_priority isn't sam as the children's
  1 If the parent's sched_priority is greater than the children's, raising the
children's sched_priority. After register children, restore the children's
sched_priority.
  2 If children's sched_priority is greater than the parent's, raising the
parent's sched_priority. After register children, restore the parent's
sched_priority.


More information about the Gcc-bugs mailing list