DragonFly commits List (threaded) for 2007-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern subr_alist.c
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@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]