diff options
author | Benjamin LaHaise <bcrl@kvack.org> | 2008-01-30 07:33:13 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:13 -0500 |
commit | 0723a69a63beec1ca6e792239ef75d0181387ef0 (patch) | |
tree | df0205d10a3811084923e8f24935e400e0a81667 /mm/readahead.c | |
parent | 6b8be6df7f971919622d152d144c8798ad7fd160 (diff) |
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>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions