[PATCH 12/17] futex,rt_mutex: Restructure rt_mutex_finish_proxy_lock()

2018-11-09 Thread Henrik Austad
From: Peter Zijlstra commit 38d589f2fd08f1296aea3ce62bebd185125c6d81 upstream. With the ultimate goal of keeping rt_mutex wait_list and futex_q waiters consistent it's necessary to split 'rt_mutex_futex_lock()' into finer parts, such that only the actual blocking can be done without hb->lock

[PATCH 12/17] futex,rt_mutex: Restructure rt_mutex_finish_proxy_lock()

2018-11-09 Thread Henrik Austad
From: Peter Zijlstra commit 38d589f2fd08f1296aea3ce62bebd185125c6d81 upstream. With the ultimate goal of keeping rt_mutex wait_list and futex_q waiters consistent it's necessary to split 'rt_mutex_futex_lock()' into finer parts, such that only the actual blocking can be done without hb->lock