linux/include
Paul E. McKenney b2b1866006 [PATCH] RCU: clean up a few remaining synchronize_kernel() calls
2.6.12-rc6-mm1 has a few remaining synchronize_kernel()s, some (but not
all) in comments.  This patch changes these synchronize_kernel() calls (and
comments) to synchronize_rcu() or synchronize_sched() as follows:

- arch/x86_64/kernel/mce.c mce_read(): change to synchronize_sched() to
  handle races with machine-check exceptions (synchronize_rcu() would not cut
  it given RCU implementations intended for hardcore realtime use.

- drivers/input/serio/i8042.c i8042_stop(): change to synchronize_sched() to
  handle races with i8042_interrupt() interrupt handler.  Again,
  synchronize_rcu() would not cut it given RCU implementations intended for
  hardcore realtime use.

- include/*/kdebug.h comments: change to synchronize_sched() to handle races
  with NMIs.  As before, synchronize_rcu() would not cut it...

- include/linux/list.h comment: change to synchronize_rcu(), since this
  comment is for list_del_rcu().

- security/keys/key.c unregister_key_type(): change to synchronize_rcu(),
  since this is interacting with RCU read side.

- security/keys/process_keys.c install_session_keyring(): change to
  synchronize_rcu(), since this is interacting with RCU read side.

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>
2005-06-25 16:24:38 -07:00
..
acpi Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asm-alpha [PATCH] remove non-DISCONTIG use of pgdat->node_mem_map 2005-06-23 09:45:00 -07:00
asm-arm [PATCH] ARM: Generic Dynamic Tick Timer support for ARM, take 4 2005-06-25 19:39:45 +01:00
asm-arm26 [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-cris [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-frv [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-generic [PATCH] adjust per_cpu definition in non-SMP case 2005-06-23 09:45:28 -07:00
asm-h8300 [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-i386 [PATCH] RCU: clean up a few remaining synchronize_kernel() calls 2005-06-25 16:24:38 -07:00
asm-ia64 [IA64] Fix pfn_to_nid() so the kernel compiles again for !CONFIG_DISCONTIGMEM. 2005-06-23 14:52:51 -07:00
asm-m32r [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-m68k [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-m68knommu [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-mips [PATCH] mips: add MIPS-specific support for flatmem/discontigmem 2005-06-25 16:24:25 -07:00
asm-parisc [PATCH] compat: introduce compat_time_t 2005-06-23 09:45:32 -07:00
asm-ppc [PATCH] ppc32: Remove FSL OCP support 2005-06-25 16:24:27 -07:00
asm-ppc64 [PATCH] RCU: clean up a few remaining synchronize_kernel() calls 2005-06-25 16:24:38 -07:00
asm-s390 [PATCH] s390: debug feature changes 2005-06-25 16:24:37 -07:00
asm-sh [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-sh64 [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-sparc [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-sparc64 [PATCH] RCU: clean up a few remaining synchronize_kernel() calls 2005-06-25 16:24:38 -07:00
asm-um [PATCH] uml: add profile_pc for i386 2005-06-25 16:24:36 -07:00
asm-v850 [PATCH] streamline preempt_count type across archs 2005-06-23 09:45:19 -07:00
asm-x86_64 [PATCH] RCU: clean up a few remaining synchronize_kernel() calls 2005-06-25 16:24:38 -07:00
asm-xtensa [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 8 2005-06-24 00:05:22 -07:00
linux [PATCH] RCU: clean up a few remaining synchronize_kernel() calls 2005-06-25 16:24:38 -07:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
media [PATCH] v4l: update for SAA7134 cards 2005-06-24 00:06:39 -07:00
mtd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
net Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2005-06-24 00:31:46 -07:00
pcmcia [PATCH] yenta TI: turn off interrupts during card power-on #2 2005-06-23 09:45:31 -07:00
rxrpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00
sound [PATCH] create a kstrdup library function 2005-06-23 09:45:18 -07:00
video [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection 2005-05-01 08:59:25 -07:00