diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2016-04-20 06:17:25 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-05-05 09:58:51 +0200 |
commit | b96bbdde19cc56f288372d25fd5ea7af04fc1271 (patch) | |
tree | f6a05e901fe3a8bbca29dff237438ba14c98c88a /kernel/time/tick-sched.c | |
parent | locking/pvqspinlock: Avoid double resetting of stats (diff) | |
download | linux-b96bbdde19cc56f288372d25fd5ea7af04fc1271.tar.xz linux-b96bbdde19cc56f288372d25fd5ea7af04fc1271.zip |
locking/pvqspinlock: Robustify init_qspinlock_stat()
Specifically around the debugfs file creation calls,
I have no idea if they could ever possibly fail, but
this is core code (debug aside) so lets at least
check the return value and inform anything fishy.
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <Waiman.Long@hpe.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160420041725.GC3472@linux-uzut.site
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/time/tick-sched.c')
0 files changed, 0 insertions, 0 deletions