- 08 7月, 2014 3 次提交
-
-
由 S. Lockwood-Childs 提交于
Commit fb9edbe9 shortened held_lock->check from a 2-bit field to a 1-bit field. Make liblockdep compatible with the new definition by passing check=1 to lock_acquire() calls, rather than the old value check=2 (which inadvertently disabled checks by overflowing to 0). Without this fix, several of the test cases in liblockdep run_tests.sh were failing. Signed-off-by: NS. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: NSasha Levin <sasha.levin@oracle.com>
-
由 Sasha Levin 提交于
Remove a debug print in init_preload() which was left over from development and isn't usefull at all currently. It was also causing false positive test results. Reported-by: NS. Lockwood-Childs <sjl@vctlabs.com> Signed-off-by: NSasha Levin <sasha.levin@oracle.com>
-
由 zhangdianfang 提交于
Comparison of a boolean value (!__init_state) with a value of 2 (done) as currently happens in the code is unlikely to succeed and causes repeated initialization of the pthread function pointers. Instead, remove boolean comparison so that we would initialize said function pointers only once. Ref: https://bugzilla.kernel.org/show_bug.cgi?id=76741 Cc: Jean Delvare <jdelvare@suse.de> Reported-by: NDavid Binderman <dcb314@hotmail.com> Signed-off-by: NDianfang Zhang <zhangdianfang@huawei.com> Signed-off-by: NSasha Levin <sasha.levin@oracle.com>
-
- 27 2月, 2014 1 次提交
-
-
由 Ira W. Snyder 提交于
This makes initialization actually happen. Without it, initialization is always skipped due to an incorrect conditional statement. Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu> Signed-off-by: NSasha Levin <sasha.levin@oracle.com>
-
- 27 11月, 2013 1 次提交
-
-
由 Sasha Levin 提交于
This allows lockdep to be used without being compiled in the original program. Usage is quite simple: LD_PRELOAD=/path/to/liblockdep.so /path/to/my/program And magically, you'll have lockdep checking in your program! Signed-off-by: NSasha Levin <sasha.levin@oracle.com> Signed-off-by: NPeter Zijlstra <peterz@infradead.org> Cc: torvalds@linux-foundation.org Link: http://lkml.kernel.org/r/1371163284-6346-8-git-send-email-sasha.levin@oracle.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
-