From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
Takashi Iwai <tiwai@suse.de>,
akpm@osdl.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Silly bitmap size accounting fix
Date: Sun, 14 May 2006 10:13:53 +0200 [thread overview]
Message-ID: <20060514081353.GA779@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.58.0605131157220.27751@gandalf.stny.rr.com>
* Steven Rostedt <rostedt@goodmis.org> wrote:
> -#define BITMAP_SIZE ((((MAX_PRIO+1+7)/8)+sizeof(long)-1)/sizeof(long))
> -
> typedef struct runqueue runqueue_t;
>
> struct prio_array {
> unsigned int nr_active;
> - unsigned long bitmap[BITMAP_SIZE];
> + DECLARE_BITMAP(bitmap, MAX_PRIO+1); /* include 1 bit for delimiter */
> struct list_head queue[MAX_PRIO];
> };
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
prev parent reply other threads:[~2006-05-14 8:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 8:31 [PATCH] Silly bitmap size accounting fix Steven Rostedt
2006-05-12 9:14 ` Ingo Molnar
2006-05-13 1:37 ` Nick Piggin
2006-05-13 14:12 ` Steven Rostedt
2006-05-13 14:38 ` Nick Piggin
2006-05-13 14:53 ` Steven Rostedt
2006-05-13 14:56 ` Nick Piggin
2006-05-13 15:36 ` Takashi Iwai
2006-05-13 15:45 ` Nick Piggin
2006-05-13 15:59 ` Steven Rostedt
2006-05-14 8:13 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060514081353.GA779@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=rostedt@goodmis.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox