public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: yhlu.kernel@gmail.com
Cc: Andrew Morton <akpm@linux-foundation.org>,
	kernel list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86_64: allcate e820 resource struct all together
Date: Fri, 21 Mar 2008 13:04:04 +0100	[thread overview]
Message-ID: <20080321120404.GE25225@elte.hu> (raw)
In-Reply-To: <200803202357.22045.yhlu.kernel@gmail.com>


* Yinghai Lu <yhlu.kernel.send@gmail.com> wrote:

> don't need to allocate that one by one

> +	struct resource *res;
> +	res = alloc_bootmem_low(sizeof(struct resource) * e820.nr_map);

nice one - applied.

(minor style nit: please keep a newline between variable definitions and 
the first line of code, to make it a bit more readable.)

	Ingo

      reply	other threads:[~2008-03-21 12:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-21  6:57 [PATCH] x86_64: allcate e820 resource struct all together Yinghai Lu
2008-03-21 12:04 ` 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=20080321120404.GE25225@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yhlu.kernel@gmail.com \
    /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