Source-Changes archive

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

CVS commit: syssrc/sys/dev/raidframe



Module Name:    syssrc
Committed By:   oster
Date:           Thu Aug  8 02:53:02 UTC 2002

Modified Files:
        syssrc/sys/dev/raidframe: rf_freelist.h

Log Message:
RF_LOCK_MUTEX()/RF_UNLOCK_MUTEX() often cover more code than they
needs to.  In particular, they often surround calls to malloc().
Re-work the locking on most macros to avoid this problem.

XXX: On MP systems, simultaneous calls to the GET macros when a
freelist is empty may cause that freelist to grow more quickly than
before.  Given that the "increment" value of these lists are fairly
small, this shouldn't be too much of an issue.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/raidframe/rf_freelist.h

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