aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBjorn Steinbrink <[email protected]>2007-06-01 00:47:15 -0700
committerLinus Torvalds <[email protected]>2007-06-01 08:18:30 -0700
commit9fcc15ec3c1c287a781a4620e52522b6186f26f6 (patch)
tree86a0214fc404c0ca6e0ca283c83f22bd15aa2eb4 /include/linux/debugobjects.h
parentc79d9c9e9ace5eeae54f484f62fbd86bf27a344a (diff)
timer statistics: fix race
Fix two races in the timer stats lookup code. One by ensuring that the initialization of a new entry is finished upon insertion of that entry. The other by cleaning up the hash table when the entries array is cleared, so that we don't have any "pre-inserted" entries. Thanks to Eric Dumazet for reminding me of the memory barriers. Signed-off-by: Bjorn Steinbrink <[email protected]> Signed-off-by: Ian Kumlien <[email protected]> Acked-by: Ingo Molnar <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions