aboutsummaryrefslogtreecommitdiff
path: root/kernel/mutex.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-03-12 13:13:49 -0400
committerSteven Rostedt <srostedt@redhat.com>2009-03-12 21:14:59 -0400
commit8aabee573dff131a085c63de7667eacd94ba4ccb (patch)
tree923c02126de3e55148df132a89a7d2151df855b7 /kernel/mutex.h
parent59222efe2d184956464abe5b637bc842ff053b93 (diff)
ring-buffer: remove unneeded get_online_cpus
Impact: speed up and remove possible races The get_online_cpus was added to the ring buffer because the original design would free the ring buffer on a CPU that was being taken off line. The final design kept the ring buffer around even when the CPU was taken off line. This is to allow a user to still read the information on that ring buffer. Most of the get_online_cpus are no longer needed since the ring buffer will not disappear from the use cases. Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions