Re: [PATCH] rcu: eliminate rcu_data.last_qsctr

From: Manfred Spraul
Date: Mon Nov 29 2004 - 14:36:38 EST


Oleg Nesterov wrote:

last_qsctr is used in rcu_check_quiescent_state() exclusively.
We can reset qsctr at the start of the grace period, and then
just test qsctr against 0.

On top of the 'rcu: eliminate rcu_ctrlblk.lock', see
http://marc.theaimsgroup.com/?l=linux-kernel&m=110156786721526

Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>



Compile and boot tested with 2.6.10-rc2 on a 2-cpu system.

Signed-Off-By: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/