summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/runq.h
Commit message (Collapse)AuthorAgeFilesLines
* Move the "- 1" into the RQB_FFS(mask) macro itself so thatpeter2002-06-201-1/+1
| | | | | | | | | | | | | | implementations can provide a base zero ffs function if they wish. This changes #define RQB_FFS(mask) (ffs64(mask)) foo = RQB_FFS(mask) - 1; to #define RQB_FFS(mask) (ffs64(mask) - 1) foo = RQB_FFS(mask); On some platforms we can get the "- 1" for free, eg: those that use the C code for ffs64(). Reviewed by: jake (in principle)
* Make the run queue parameters machine dependent. Optimize 64 bitjake2002-05-251-0/+46
architectures by using a 64 bit word for the bit array which keeps track of non-empty queues. Reviewed by: peter
OpenPOWER on IntegriCloud