aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorDarren Hart <dvhltc@us.ibm.com>2008-12-29 19:43:21 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-02 23:10:44 +0100
commit90621c40cc4ab7b0a414311ce37e7cc7173403b6 (patch)
tree3f5797462898f3f85bad1a31df04e671df8aadd3 /lib/percpu_counter.c
parentfutex: make futex_(get|put)_key() calls symmetric (diff)
downloadwireguard-linux-90621c40cc4ab7b0a414311ce37e7cc7173403b6.tar.xz
wireguard-linux-90621c40cc4ab7b0a414311ce37e7cc7173403b6.zip
futex: catch certain assymetric (get|put)_futex_key calls
Impact: add debug check Following up on my previous key reference accounting patches, this patch will catch puts on keys that haven't been "got". This won't catch nested get/put mismatches though. Build and boot tested, with minimal desktop activity and a run of the open_posix_testsuite in LTP for testing. No warnings logged. Signed-off-by: Darren Hart <dvhltc@us.ibm.com> Cc: <stable@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions