cvs commit: src/sys/kern subr_alist.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Apr 18 20:18:29 PDT 2007
dillon 2007/04/18 20:16:33 PDT
DragonFly src repository
Modified files:
sys/kern subr_alist.c
Log:
Allocations of size greater then the radix were not returning the correct
starting block. For example, the second allocation of 32 blocks was returning
block 1 instead of block 32.
Also remove a redundant check in the code that was wasting cycles.
Submitted-by: Jason Smethers <jason at smethers.net>
Revision Changes Path
1.2 +1 -6 src/sys/kern/subr_alist.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_alist.c.diff?r1=1.1&r2=1.2&f=u
More information about the Commits
mailing list