Re: [patch] O(1) scheduler, -D1, 2.5.2-pre9, 2.4.17

Anton Blanchard (anton@samba.org)
Tue, 8 Jan 2002 22:43:55 +1100



> struct prio_array {
> int nr_active;
> spinlock_t *lock;
> runqueue_t *rq;
> - char bitmap[BITMAP_SIZE];
> + unsigned long bitmap[3];
> list_t queue[MAX_PRIO];
> };

Sorry, of course this is wrong if sizeof(unsigned long) < 64. But you
get the idea :)

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/