public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: "Jan Beulich" <JBeulich@novell.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] replace various uses of num_physpages by totalram_pages
Date: Wed, 1 Jul 2009 14:27:52 +0930	[thread overview]
Message-ID: <200907011427.52943.rusty@rustcorp.com.au> (raw)
In-Reply-To: <4A4A0E50020000780000830B@vpn.id2.novell.com>

On Tue, 30 Jun 2009 08:38:32 pm Jan Beulich wrote:
> Sizing of memory allocations shouldn't depend on the number of physical
> pages found in a system, as that generally include (perhaps a huge
> amount of) non-RAM pages. The amount of what actually is usable as
> storage should instead be used as a basis here.

I like this patch.  Where's num_physpages used after this: should it be an 
arch-specific or even a static?

FWIW: Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Thanks,
Rusty.

  reply	other threads:[~2009-07-01  4:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30 11:08 [PATCH] replace various uses of num_physpages by totalram_pages Jan Beulich
2009-07-01  4:57 ` Rusty Russell [this message]
2009-07-01  6:54   ` Jan Beulich
2009-07-01  7:43 ` Amerigo Wang
  -- strict thread matches above, loose matches on Subject: below --
2009-08-18 15:34 Jan Beulich
2009-08-18 15:38 ` Ingo Molnar
2009-08-18 15:48   ` Jan Beulich

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=200907011427.52943.rusty@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=JBeulich@novell.com \
    --cc=linux-kernel@vger.kernel.org \
    /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