diff options
author | Thomas Gleixner <[email protected]> | 2019-11-06 22:55:40 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2019-11-20 09:40:08 +0100 |
commit | f24f22435dcc11389acc87e5586239c1819d217c (patch) | |
tree | 6480bf006e24bca9aea68b34b577851f59042747 /lib/memory-notifier-error-inject.c | |
parent | 150d71584b12809144b8145b817e83b81158ae5f (diff) |
futex: Set task::futex_state to DEAD right after handling futex exit
Setting task::futex_state in do_exit() is rather arbitrarily placed for no
reason. Move it into the futex code.
Note, this is only done for the exit cleanup as the exec cleanup cannot set
the state to FUTEX_STATE_DEAD because the task struct is still in active
use.
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions