Messages in this thread | | | From | Henry Wu <> | Date | Sat, 8 Jul 2023 01:28:25 +0800 | Subject | Re: Fwd: Possible race in rt_mutex_adjust_prio_chain |
| |
Hi, Peter and Mike.
Mike Galbraith <efault@gmx.de> 于2023年7月7日周五 23:39写道: > > On Fri, 2023-07-07 at 14:59 +0200, Peter Zijlstra wrote: > > > > The below implements this duplication and seems to not insta-crash. > > RT bits of ww_mutex.h needed tree_entry -> tree.entry. Modulo that, RT > seems content. > > -Mike
I patched my kernel with Peter's patch and tested it with my test program. I haven't seen any race so far and I will test more tomorrow. Fedora's default kernel config doesn't enable CONFIG_PREEMPT_RT so I didn't come across with compile error. I will test final patch if available.
| |