threads: Update PID limit comment according to futex UAPI change
authorJann Horn <jannh@google.com>
Mon, 2 Mar 2020 11:29:39 +0000 (12:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 21 Mar 2020 16:48:13 +0000 (17:48 +0100)
commit9c40365a65d62d7c06a95fb331b3442cb02d2fd9
tree29cc1286beea148e2930e75775b9a71ba8e85ad7
parent6c8116c914b65be5e4d6f66d69c8142eb0648c22
threads: Update PID limit comment according to futex UAPI change

The futex UAPI changed back in commit 76b81e2b0e22 ("[PATCH] lightweight
robust futexes updates 2"), which landed in v2.6.17: FUTEX_TID_MASK is now
0x3fffffff instead of 0x1fffffff. Update the corresponding comment in
include/linux/threads.h.

Documentation mentions that only the lower 29 bits are available for TID
storage, but as the UAPI header released the bit already via
FUTEX_TID_MASK, this is moot as well. Fix it up.

[ tglx: Fixed up documentation ]

Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200302112939.8068-1-jannh@google.com
Documentation/robust-futex-ABI.txt
include/linux/threads.h