Peter Zijlstra
fb099f3bb4
futex: Fix inode life-time issue
...
commit 8019ad13ef7f64be44d4f892af9c840179009254 upstream.
As reported by Jann, ihold() does not in fact guarantee inode
persistence. And instead of making it so, replace the usage of inode
pointers with a per boot, machine wide, unique inode identifier.
This sequence number is global, but shared (file backed) futexes are
rare enough that this should not become a performance issue.
Reported-by: Jann Horn <jannh@google.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-02 17:20:27 +02:00
..
acpi
ACPICA: Introduce ACPI_ACCESS_BYTE_WIDTH() macro
2020-03-11 07:53:05 +01:00
asm-generic
asm-generic: fix -Wtype-limits compiler warnings
2019-08-25 10:51:50 +02:00
clocksource
crypto
crypto: vmac - separate tfm and request context
2018-08-17 20:59:29 +02:00
drm
drm: mst: Fix query_payload ack reply struct
2020-01-04 13:39:00 +01:00
dt-bindings
dt-bindings: reset: meson8b: fix duplicate reset IDs
2020-01-23 08:19:38 +01:00
keys
KEYS: user: Align the payload buffer
2019-02-27 10:07:00 +01:00
kvm
arm/arm64: KVM: Add PSCI version selection API
2018-05-09 09:50:19 +02:00
linux
futex: Fix inode life-time issue
2020-04-02 17:20:27 +02:00
math-emu
math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning
2019-12-21 10:41:02 +01:00
media
media: v4l2-device.h: Explicitly compare grp{id,mask} to zero in v4l2_device macros
2020-02-28 15:42:24 +01:00
memory
misc
net
fib: add missing attribute validation for tun_id
2020-03-20 09:07:39 +01:00
pcmcia
ras
rdma
IB/mlx4: Avoid implicit enumerated type conversion
2019-11-25 09:53:28 +01:00
rxrpc
scsi
scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
2020-02-28 15:42:54 +01:00
soc
memory: tegra: Apply interrupts mask per SoC
2018-08-03 07:55:24 +02:00
sound
ALSA: rawmidi: Avoid bit fields for state flags
2020-02-28 15:42:55 +01:00
target
target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK
2018-01-17 09:38:54 +01:00
trace
tracing: xen: Ordered comparison of function pointers
2020-01-29 10:24:39 +01:00
uapi
net: ethtool: Add back transceiver type
2020-01-29 10:24:36 +01:00
video
udlfb: set optimal write delay
2018-09-09 20:01:25 +02:00
xen
swiotlb-xen: implement xen_swiotlb_dma_mmap callback
2017-10-05 09:44:05 +02:00
Kbuild