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
..
2007-10-17 21:19:04 +02:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:31:31 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-13 10:01:23 -07:00
2008-01-24 20:40:04 -08:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:31:31 +01:00
2008-01-30 13:33:09 +01:00
2008-01-30 13:32:44 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:31:19 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:30:32 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:31:23 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:33:10 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:33:12 +01:00
2008-01-30 13:31:13 +01:00
2008-01-30 13:31:12 +01:00
2008-01-30 13:33:10 +01:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-24 20:40:04 -08:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:30:31 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:32:51 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:32:40 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:31:27 +01:00
2007-10-11 11:17:01 +02:00
2007-10-20 01:13:56 +02:00
2007-10-17 08:42:55 -07:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2007-10-17 20:16:08 +02:00
2007-10-17 20:16:08 +02:00
2008-01-30 13:32:39 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:31:42 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00