OSDN Git Service

locking/refcount: Document interaction with PID_MAX_LIMIT
authorJann Horn <jannh@google.com>
Tue, 3 Mar 2020 10:54:27 +0000 (11:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 8 Apr 2020 10:05:07 +0000 (12:05 +0200)
commita13f58a0cafa7b0416a2898bc3b0defbb305d108
tree9833ebfb6c8dc617e4782d023c0b6355acb3d374
parentd22cc7f67d55ebf2d5be865453971c783e9fb21a
locking/refcount: Document interaction with PID_MAX_LIMIT

Document the circumstances under which refcount_t's saturation mechanism
works deterministically.

Acked-by: Kees Cook <keescook@chromium.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20200303105427.260620-1-jannh@google.com
include/linux/refcount.h