diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-05-09 03:39:44 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-06-26 05:24:38 -0400 |
commit | 15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d (patch) | |
tree | 3658f893c2f89ea0be4c6cc08aa11fa54476d0f4 /mm/slab.c | |
parent | 8691e5a8f691cc2a4fda0651e8d307aaba0e7d68 (diff) |
on_each_cpu(): kill unused 'retry' parameter
It's not even passed on to smp_call_function() anymore, since that
was removed. So kill it.
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2454,7 +2454,7 @@ static void drain_cpu_caches(struct kmem_cache *cachep) | |||
2454 | struct kmem_list3 *l3; | 2454 | struct kmem_list3 *l3; |
2455 | int node; | 2455 | int node; |
2456 | 2456 | ||
2457 | on_each_cpu(do_drain, cachep, 1, 1); | 2457 | on_each_cpu(do_drain, cachep, 1); |
2458 | check_irq_on(); | 2458 | check_irq_on(); |
2459 | for_each_online_node(node) { | 2459 | for_each_online_node(node) { |
2460 | l3 = cachep->nodelists[node]; | 2460 | l3 = cachep->nodelists[node]; |
@@ -3939,7 +3939,7 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, | |||
3939 | } | 3939 | } |
3940 | new->cachep = cachep; | 3940 | new->cachep = cachep; |
3941 | 3941 | ||
3942 | on_each_cpu(do_ccupdate_local, (void *)new, 1, 1); | 3942 | on_each_cpu(do_ccupdate_local, (void *)new, 1); |
3943 | 3943 | ||
3944 | check_irq_on(); | 3944 | check_irq_on(); |
3945 | cachep->batchcount = batchcount; | 3945 | cachep->batchcount = batchcount; |