Files
linux-stable-mirror/include/linux
Lai Jiangshan 3cac97cbb1 rcu classic: simplify the next pending batch
use a batch number(rcp->pending) instead of a flag(rcp->next_pending)

rcu_start_batch() need to change this flag, so mb()s is needed
for memory-access safe.

but(after this patch applied) rcu_start_batch() do not change
this batch number(rcp->pending), rcp->pending is managed by
__rcu_process_callbacks only, and troublesome mb()s are eliminated.

And codes look simpler and clearer.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Dipankar Sarma <dipankar@in.ibm.com>
Cc: Gautham Shenoy <ego@in.ibm.com>
Cc: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-18 16:07:32 +02:00
..
2008-05-20 14:14:15 -07:00
2008-07-01 11:28:06 +10:00
2008-06-19 10:42:17 +10:00
2008-06-19 10:42:17 +10:00
2008-07-03 13:21:14 +02:00
2008-06-06 11:29:10 -07:00
2008-07-04 10:40:05 -07:00
2008-07-04 10:40:09 -07:00
2008-07-11 10:46:50 +02:00
2008-05-07 09:48:23 +02:00
2008-05-16 17:22:26 -04:00
2008-07-08 17:55:41 +02:00
2008-07-16 23:27:03 +02:00
2008-07-11 15:49:21 +02:00
2008-05-13 08:02:26 -07:00
2008-05-24 09:56:13 -07:00
2008-05-20 16:44:43 +02:00
2008-05-20 16:44:43 +02:00
2008-07-16 20:33:48 +02:00
2008-07-16 18:02:33 -07:00
2008-06-30 09:25:12 -04:00
2008-07-16 23:27:07 +02:00
2008-07-10 08:17:14 +02:00
2008-07-04 10:40:05 -07:00
2008-05-23 22:26:03 +02:00
2008-06-06 11:29:12 -07:00
2008-06-16 11:21:27 +02:00
2008-06-10 14:37:03 -07:00
2008-07-07 16:26:50 -07:00
2008-05-06 12:01:41 -04:00
2008-05-19 16:25:39 +01:00
2008-07-04 10:40:07 -07:00
2008-05-19 10:01:36 +02:00
2008-05-25 07:09:47 +02:00
2008-07-16 18:02:33 -07:00
2008-07-04 10:40:04 -07:00
2008-07-04 10:40:04 -07:00
2008-06-20 14:05:53 -06:00
2008-07-04 11:26:40 +02:00
2008-06-12 14:25:09 -07:00
2008-06-12 10:48:00 +02:00
2008-05-09 07:45:18 -07:00