Re: [RFC PATCH -v2] percpu_counters: make fbc->count read atomic on 32 bit architecture

Andreas Dilger
2008-08-25T23:18:15Z

On Aug 25, 2008 19:35 +0530, Aneesh Kumar wrote:
> BTW does it make sense to do
> the above unconditionally now ? ie to remove the #if ?. How much
> impact would it be to do read_seqbegin and read_seqretry on a 64bit
> machine too ?

If we don't need it, why do it? There is no benefit and just overhead.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.