rculfhash: set size instead of max for per-cpu count scheme
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 7 Sep 2011 16:18:26 +0000 (09:18 -0700)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 7 Sep 2011 16:18:26 +0000 (09:18 -0700)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c

index 5719bc2c8a418fcd2ef54df7518caa7e14ab4790..20d389d38517d786477e4acff9f8a87fe5b6b1ae 100644 (file)
@@ -1117,7 +1117,7 @@ static
 unsigned long resize_target_update_count(struct rcu_table *t,
                                   unsigned long count)
 {
-       return _uatomic_max(&t->resize_target, count);
+       return uatomic_set(&t->resize_target, count);
 }
 
 static
This page took 0.026639 seconds and 4 git commands to generate.