summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/runq.h
Commit message (Collapse)AuthorAgeFilesLines
* Switch to C99 exact-width types.marcel2010-05-191-4/+4
|
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
|
* Fix last second typo.peter2003-12-101-1/+1
|
* Use ffs(x) == popcnt(x ^ (x - 1)) to implement 64 bit ffsl(). gcc'speter2003-12-101-8/+15
| | | | ffs() builtin uses this already but truncates the upper 32 bits.
* 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/+58
architectures by using a 64 bit word for the bit array which keeps track of non-empty queues. Reviewed by: peter
OpenPOWER on IntegriCloud