diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2005-11-07 00:58:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:53:24 -0800 |
commit | cd61ef6268ac52d3dfa5626d1e0306a91b3b2608 (patch) | |
tree | 5df1bfd49f2e9be33505ba900d2ed153fed9a2af /drivers/net/3c59x.c | |
parent | 2109a2d1b175dfcffbfdac693bdbe4c4ab62f11f (diff) | |
download | lwn-cd61ef6268ac52d3dfa5626d1e0306a91b3b2608.tar.gz lwn-cd61ef6268ac52d3dfa5626d1e0306a91b3b2608.zip |
[PATCH] slab: Use same schedule timeout for all cpus in cache_reap
Chen noticed that cache_reap uses REAPTIMEOUT_CPUC+smp_processor_id() as
the timeout for rescheduling.
The "+smp_processor_id()" part is wrong, the timeout should be identical
for all cpus: start_cpu_timer already adds a cpu dependant offset to avoid
any clustering.
The attached patch removes smp_processor_id().
Signed-Off-By: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/3c59x.c')
0 files changed, 0 insertions, 0 deletions