* Clear the status bit of the queue corresponding to priority level pri, * indicating that it is empty. */
| 277 | * indicating that it is empty. |
| 278 | */ |
| 279 | static __inline void |
| 280 | runq_clrbit(struct runq *rq, int pri) |
| 281 | { |
| 282 | struct rqbits *rqb; |
| 283 | |
| 284 | rqb = &rq->rq_status; |
| 285 | CTR4(KTR_RUNQ, "runq_clrbit: bits=%#x %#x bit=%#x word=%d", |
| 286 | rqb->rqb_bits[RQB_WORD(pri)], |
| 287 | rqb->rqb_bits[RQB_WORD(pri)] & ~RQB_BIT(pri), |
| 288 | RQB_BIT(pri), RQB_WORD(pri)); |
| 289 | rqb->rqb_bits[RQB_WORD(pri)] &= ~RQB_BIT(pri); |
| 290 | } |
| 291 | |
| 292 | /* |
| 293 | * Find the index of the first non-empty run queue. This is done by |