summaryrefslogtreecommitdiffstats
path: root/Documentation/robust-futexes.txt
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2011-01-05 16:57:37 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-05 16:57:37 +0100
commite4a683c899cd5a49f8d684a054c95bd115a0c005 (patch)
treec7e79e24199a5ed34a488b06cfd3fa890637db7d /Documentation/robust-futexes.txt
parentbio-integrity: mark kintegrityd_wq highpri and CPU intensive (diff)
downloadlinux-e4a683c899cd5a49f8d684a054c95bd115a0c005.tar.xz
linux-e4a683c899cd5a49f8d684a054c95bd115a0c005.zip
kref: add kref_test_and_get
Add kref_test_and_get() function, which atomically add a reference only if refcount is not zero. This prevent to add a reference to an object that is already being removed. Signed-off-by: Jerome Marchand <jmarchan@redhat.com> Cc: stable@kernel.org Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'Documentation/robust-futexes.txt')
0 files changed, 0 insertions, 0 deletions