This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/88400] address-sanitizer on the cpu with only one core, may deadlock
- From: "He.Hongjun at zte dot com.cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Dec 2018 09:08:02 +0000
- Subject: [Bug sanitizer/88400] address-sanitizer on the cpu with only one core, may deadlock
- Auto-submitted: auto-generated
- References: <bug-88400-4@http.gcc.gnu.org/bugzilla/>
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.