summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-09-02 11:48:51 +0200
committerThomas Gleixner <tglx@linutronix.de>2021-09-02 22:07:18 +0200
commit340576590dac4bb58d532a8ad5bfa806d8ab473c (patch)
treef48c73dadbf0cb325a58423fd41adb8f6a3157b5 /fs
parent249955e51c8136189b3c66f54e212981a1350a0f (diff)
downloadlinux-340576590dac4bb58d532a8ad5bfa806d8ab473c.tar.gz
linux-340576590dac4bb58d532a8ad5bfa806d8ab473c.tar.xz
futex: Avoid redundant task lookup
No need to do the full VPID based task lookup and validation of the top waiter when the user space futex was acquired on it's behalf during the requeue_pi operation. The task is known already and it cannot go away before requeue_pi_wake_futex() has been invoked. Split out the actual attach code from attach_pi_state_owner() and use that instead of the full blown variant. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20210902094414.676104881@linutronix.de
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions