kernel-hacking-2024-linux-s.../arch/x86
Benjamin LaHaise 0723a69a63 x86: fix synchronize_rcu(): high latency on idle system
an otherwise idle system takes about 3 ticks per network
interface in unregister_netdev() due to multiple calls to synchronize_rcu(),
which adds up to quite a few seconds for tearing down thousands of
interfaces.  By flushing pending rcu callbacks in the idle loop, the system
makes progress hundreds of times faster.  If this is indeed a sane thing to,
it probably needs to be done for other architectures than x86.  And yes, the
network stack shouldn't call synchronize_rcu() quite so much, but fixing that
is a little more involved.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2008-01-30 13:33:13 +01:00
..
boot x86 setup: correct the base in the GDT_ENTRY() macro 2008-01-30 13:33:04 +01:00
configs x86: Set CFQ as default in 32-bit defconfig 2008-01-30 13:32:49 +01:00
crypto
ia32 x86: coding style fixes in arch/x86/ia32/audit.c 2008-01-30 13:32:54 +01:00
kernel x86: fix synchronize_rcu(): high latency on idle system 2008-01-30 13:33:13 +01:00
lguest x86: change write_gdt_entry signature. 2008-01-30 13:31:13 +01:00
lib x86: add ENDPROC() markers 2008-01-30 13:33:13 +01:00
mach-default
mach-es7000
mach-generic
mach-visws
mach-voyager x86: avoid name conflict for Voyager leave_mm 2008-01-30 13:32:55 +01:00
math-emu x86: arch/x86/math-emu/errors.c: fix printk warnings 2008-01-30 13:32:13 +01:00
mm x86: function ifdefs in fault_32|64.c 2008-01-30 13:33:13 +01:00
oprofile x86: pull bp calculation earlier into the backtrace path 2008-01-30 13:33:07 +01:00
pci x86: coding style fixes in arch/x86/pci/fixup.c 2008-01-30 13:33:00 +01:00
power x86: make __{save,restore}_processor_state static 2008-01-30 13:31:23 +01:00
vdso x86: gitignore arch/x86/vdso files 2008-01-30 13:32:32 +01:00
video
xen xen: mask out PWT too 2008-01-30 13:32:58 +01:00
Kconfig percpu: use a kconfig variable to signal arch specific percpu setup 2008-01-30 13:32:51 +01:00
Kconfig.cpu x86: reduce CONFIG_X86_PPRO_FENCE bloat 2008-01-30 13:32:31 +01:00
Kconfig.debug x86: make early printk selectable on 64-bit as well 2008-01-30 13:33:06 +01:00
Makefile x86: document fdimage/isoimage completely in make help 2008-01-30 13:32:49 +01:00
Makefile_32.cpu