Files
kernel_xiaomi_sm8250/include/linux
Peter Zijlstra e6d506cd22 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-03-25 08:06:14 +01:00
..
2019-12-13 08:51:18 +01:00
2019-12-17 20:35:45 +01:00
2020-01-27 14:51:21 +01:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2019-11-24 08:19:14 +01:00
2020-03-25 08:06:14 +01:00
2020-03-25 08:06:14 +01:00
2019-05-31 06:46:18 -07:00
2019-10-17 13:45:42 -07:00
2019-12-13 08:52:43 +01:00
2019-12-31 16:35:38 +01:00
2020-03-18 07:14:17 +01:00
2019-06-11 12:20:52 +02:00
2019-04-17 08:38:45 +02:00
2018-11-13 11:08:51 -08:00
2019-06-17 19:51:56 +02:00
2020-03-25 08:06:13 +01:00