Subject: Re: lfs_stats.segs_reclaimed always incremented?
To: Juan RP <juan@xtrarom.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 05/25/2005 21:14:57
On Wed, May 25, 2005 at 03:05:01AM +0200, Juan RP wrote:
> >  
> > -       ++lfs_stats.segs_reclaimed;
> > +      if (lfs_dostats)
> > +               ++lfs_stats.segs_reclaimed;

Humm... it could easily cost more to do the test than to increment the
counter......

	David

-- 
David Laight: david@l8s.co.uk