]> asedeno.scripts.mit.edu Git - linux.git/commit
sparc/oprofile: Convert timer_stop() to use synchronize_rcu()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 30 Oct 2018 22:45:04 +0000 (15:45 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 9 Nov 2018 05:43:20 +0000 (21:43 -0800)
commit8fa9eb388eb00f7a63caf0fd370f8c134015fc1f
tree8397c71d761dd58af58467c0c0cfd6b003f50789
parent78d125d33858d00756baf0f40e75e77dcbfbea55
sparc/oprofile: Convert timer_stop() to use synchronize_rcu()

Now that synchronize_rcu() waits for preempt-disable regions of code
in addition to explicitly marked RCU read-side critical sections,
synchronize_rcu() can be used in place of synchronize_sched().  This
commit therefore makes that change.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Robert Richter <rric@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: <oprofile-list@lists.sf.net>
Cc: <sparclinux@vger.kernel.org>
arch/sparc/oprofile/init.c