diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-01-14 20:20:43 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-02-25 12:38:59 -0800 |
commit | fff421580f512fc044cc7421fdff31a7a6997350 (patch) | |
tree | 622758922122630ea7ac051a5d393a8bd4e7b34f /fs/aio.c | |
parent | 849401b66d305f3feb75b6db7459b95ad190552a (diff) |
timers: Track total number of timers in list
Currently, the tvec_base structure's ->active_timers field tracks only
the non-deferrable timers, which means that even if ->active_timers is
zero, there might well be deferrable timers in the list. This commit
therefore adds an ->all_timers field to track all the timers, whether
deferrable or not.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Tested-by: Mike Galbraith <bitbucket@online.de>
Diffstat (limited to 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions