diff options
| author | John Stultz <johnstul@us.ibm.com> | 2010-02-22 21:09:56 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-04-27 11:32:59 -0400 |
| commit | 070976b5b038218900648ea4cc88786d5dfcd58d (patch) | |
| tree | 1c5ffc0d3ba5006981a8e328cee270e96183a584 /kernel/trace/trace_functions_graph.c | |
| parent | 23695896abe0d1c813c2c88f0dd165d435d08689 (diff) | |
Fix inc/dec_mnt_count for -rt
With Nick's vfs patches, inc/dec_mnt_count use per-cpu counters, so
this patch makes sure we disable preemption before calling.
Its not a great fix, but works because count_mnt_count() sums all the
percpu values, so each one individually doesn't need to be 0'ed out.
I suspect the better fix for -rt is to revert the mnt_count back to an atomic
counter.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions
