diff options
author | Paul E. McKenney <paulmck@us.ibm.com> | 2005-05-01 08:59:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:59:04 -0700 |
commit | 9b06e818985d139fd9e82c28297f7744e1b484e1 (patch) | |
tree | 3cd2ba33b22fc2812f714f86ea52c68704f8e2c3 /security | |
parent | 512345be2549308b8ae8e85a3ff7f6d56a38e5f6 (diff) | |
download | linux-9b06e818985d139fd9e82c28297f7744e1b484e1.tar.bz2 |
[PATCH] Deprecate synchronize_kernel, GPL replacement
The synchronize_kernel() primitive is used for quite a few different purposes:
waiting for RCU readers, waiting for NMIs, waiting for interrupts, and so on.
This makes RCU code harder to read, since synchronize_kernel() might or might
not have matching rcu_read_lock()s. This patch creates a new
synchronize_rcu() that is to be used for RCU readers and a new
synchronize_sched() that is used for the rest. These two new primitives
currently have the same implementation, but this is might well change with
additional real-time support. Both new primitives are GPL-only, the old
primitive is deprecated.
Signed-off-by: Paul E. McKenney <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions