diff options
| author | Thomas Gleixner <[email protected]> | 2021-04-22 19:44:19 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2021-05-06 18:12:40 +0000 |
| commit | cdf78db4070967869e4d027c11f4dd825d8f815a (patch) | |
| tree | 6cd0278eab7ea2ef64e828b71f6846205d2efeb2 /lib/dump_stack.c | |
| parent | Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op") (diff) | |
| download | kernel-cdf78db4070967869e4d027c11f4dd825d8f815a.tar.gz kernel-cdf78db4070967869e4d027c11f4dd825d8f815a.zip | |
futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
FUTEX_LOCK_PI does not require to have the FUTEX_CLOCK_REALTIME bit set
because it has been using CLOCK_REALTIME based absolute timeouts
forever. Due to that, the time namespace adjustment which is applied when
FUTEX_CLOCK_REALTIME is not set, will wrongly take place for FUTEX_LOCK_PI
and wreckage the timeout.
Exclude it from that procedure.
Fixes: c2f7d08cccf4 ("futex: Adjust absolute futex timeouts with per time namespace offset")
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
