diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2015-01-12 08:23:53 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2015-12-15 14:39:40 +0100 |
| commit | fc30eb799b868970bda5fd1883ebd7005c8e595c (patch) | |
| tree | 886a294cf0e78d0df1234cae7bfe7120f6fcf75e /man2/futex.2 | |
| parent | 6be4bad7e05abb60d294e092ba3d8f4c7ba88813 (diff) | |
| download | man-pages-fc30eb799b868970bda5fd1883ebd7005c8e595c.tar.gz | |
futex.2: Document FUTEX_PRIVATE_FLAG
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/futex.2')
| -rw-r--r-- | man2/futex.2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/man2/futex.2 b/man2/futex.2 index d0bb98e4bd..2eeb9b31e6 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -113,6 +113,18 @@ argument consists of two parts: a command that specifies the operation to be performed, bit-wise ORed with zero or or more options that modify the behaviour of the operation. +The options that may be included in +.I op +are as follows: +.TP +.BR FUTEX_PRIVATE_FLAG " (since Linux 2.6.22)" +.\" commit 34f01cc1f512fa783302982776895c73714ebbc2 +This option bit can be employed with all futex operations. +It tells the kernel that the futex is process private and not shared +with another process. +This allows the kernel to choose the fast path for validating +the user-space address and avoids expensive VMA lookups, +taking reference counts on file backing store, and so on. .PP The operation specified in .I op |
