public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH 1/6] Deal with cases of ZONE_DMA meaning the first zone
Date: Mon, 18 Sep 2006 13:54:16 +0000	[thread overview]
Message-ID: <20060918135416.GA15096@infradead.org> (raw)
In-Reply-To: <20060911222734.4849.55947.sendpatchset@schroedinger.engr.sgi.com>

On Mon, Sep 11, 2006 at 03:27:34PM -0700, Christoph Lameter wrote:
> Optional DMA zone: Replace uses of ZONE_DMA as the first zone
> 
> In two places in the VM we use ZONE_DMA to refer to the first zone.
> If ZONE_DMA is optional then other zones may be first. So simply
> replace ZONE_DMA with zone 0.
> 
> This also fixes ZONETABLE_PGSHIFT. If we have only a single zone then
> ZONES_PGSHIFT may become 0 because there is no need anymore to encode the
> zone number related to a pgdat. However, we still need a zonetable to index
> all the zones for each node if this is a NUMA system. Therefore define
> ZONETABLE_SHIFT unconditionally as the offset of the ZONE field in page flags.

ACK.  This is a nice cleanup that should go in independent of what the fate
of the rest of the series is.


      reply	other threads:[~2006-09-18 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-11 22:27 [PATCH 1/6] Deal with cases of ZONE_DMA meaning the first zone Christoph Lameter
2006-09-18 13:54 ` Christoph Hellwig [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=20060918135416.GA15096@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-ia64@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