summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/runq.h
Commit message (Collapse)AuthorAgeFilesLines
* Begin all license/copyright comments with /*-imp2005-01-051-1/+1
|
* Reconfigure the runq macros to use the 64 bit ffs/bsf routines insteadpeter2003-12-061-5/+5
| | | | | | | of doing a loop and taking two 32 bit passes at the runqueue bits. All the 64 bit platforms should probably do this since there are 64 run queues. Approved by: re (scottl)
* 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