Re: [PATCH] Silly bitmap size accounting fix

From: Nick Piggin
Date: Fri May 12 2006 - 21:37:28 EST


Ingo Molnar wrote:
* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:


-#define BITMAP_SIZE ((((MAX_PRIO+1+7)/8)+sizeof(long)-1)/sizeof(long))
+#define BITMAP_SIZE ((((MAX_PRIO+7)/8)+sizeof(long)-1)/sizeof(long))


Acked-by: Ingo Molnar <mingo@xxxxxxx>

Really?! What about the delimiter bit set at MAX_PRIO?

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/