cvs commit: src/sys/kern vfs_vnops.c
amdmi3 at amdmi3.ru
Fri May 18 12:28:32 UTC 2007
* Bruce Evans (bde at optusnet.com.au) wrote:
> > peter 2007-05-17 15:31:14 UTC
> > FreeBSD src repository
> > Modified files:
> > sys/kern vfs_vnops.c
> > Log:
> > Eliminate a micro-optimization that hasn't had any effect for 15+ years.
> > Revision Changes Path
> > 1.249 +0 -5 src/sys/kern/vfs_vnops.c
> Since it was only implemented 11.5 years ago (in rev.1.18), it certainly
> had no effect 15+ years ago, but it probably had an effect later than 11.5
> years ago.
I think it refers more to gcc capability to compile var/CONST expression
where CONST is 2^n into bit shift instruction instead of division. Which
is more important, has this capability been confirmed?
Dmitry Marakasov mailto:amdmi3 at amdmi3.ru
More information about the cvs-all