Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Begin all license/copyright comments with /*- | imp | 2005-01-05 | 1 | -1/+1 |
| | |||||
* | Reconfigure the runq macros to use the 64 bit ffs/bsf routines instead | peter | 2003-12-06 | 1 | -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 that | peter | 2002-06-20 | 1 | -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 bit | jake | 2002-05-25 | 1 | -0/+46 |
architectures by using a 64 bit word for the bit array which keeps track of non-empty queues. Reviewed by: peter |