lkml.org 
[lkml]   [2002]   [Jan]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 8 Jan 2002 22:43:55 +1100
FromAnton Blanchard <>
SubjectRe: [patch] O(1) scheduler, -D1, 2.5.2-pre9, 2.4.17
>  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/

\
 
 \ /
  Last update: 2005-03-22 12:15    [from the cache]
©2003-2008