aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-05-09 03:39:44 -0400
committerJens Axboe <jens.axboe@oracle.com>2008-06-26 05:24:38 -0400
commit15c8b6c1aaaf1c4edd67e2f02e4d8e1bd1a51c0d (patch)
tree3658f893c2f89ea0be4c6cc08aa11fa54476d0f4 /mm
parent8691e5a8f691cc2a4fda0651e8d307aaba0e7d68 (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')
-rw-r--r--mm/page_alloc.c2
-rw-r--r--mm/slab.c4
-rw-r--r--mm/slub.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 2f552955a02f..53242344a774 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -918,7 +918,7 @@ void drain_local_pages(void *arg)
918 */ 918 */
919void drain_all_pages(void) 919void drain_all_pages(void)
920{ 920{
921 on_each_cpu(drain_local_pages, NULL, 0, 1); 921 on_each_cpu(drain_local_pages, NULL, 1);
922} 922}
923 923
924#ifdef CONFIG_HIBERNATION 924#ifdef CONFIG_HIBERNATION
diff --git a/mm/slab.c b/mm/slab.c
index 046607f05f3e..0772abb412b9 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -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;
diff --git a/mm/slub.c b/mm/slub.c
index 0987d1cd943c..44715eb70c06 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -1497,7 +1497,7 @@ static void flush_cpu_slab(void *d)
1497static void flush_all(struct kmem_cache *s) 1497static void flush_all(struct kmem_cache *s)
1498{ 1498{
1499#ifdef CONFIG_SMP 1499#ifdef CONFIG_SMP
1500 on_each_cpu(flush_cpu_slab, s, 1, 1); 1500 on_each_cpu(flush_cpu_slab, s, 1);
1501#else 1501#else
1502 unsigned long flags; 1502 unsigned long flags;
1503 1503