Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/raidframe



Module Name:    src
Committed By:   oster
Date:           Sun Jan  4 21:06:04 UTC 2004

Modified Files:
        src/sys/dev/raidframe: rf_netbsdkintf.c rf_reconstruct.c

Log Message:
raidPtr->reconControl->percentCompleted only gets used in one
debugging printf, and in rf_netbsdkintf.c.  We can do the calculations
inside of RF_DEBUG_RECON for the one debugging printf, and only
perform the percentCompleted calculation "on demand" in the
rf_netbsdkintf.c case.  Shaves a few more bytes off an i386 GENERIC
kernel, and ever-so-slightly decreases the amount of work performed
during a reconstruct.


To generate a diff of this commit:
cvs rdiff -r1.170 -r1.171 src/sys/dev/raidframe/rf_netbsdkintf.c
cvs rdiff -r1.64 -r1.65 src/sys/dev/raidframe/rf_reconstruct.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index