linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: Andy Whitcroft <apw@shadowen.org>
Cc: linux-ia64@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [RFC] virtual memmap for sparsemem [2/2] for ia64.
Date: Fri, 20 Oct 2006 10:20:40 +0900	[thread overview]
Message-ID: <20061020102040.5260e600.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <4537985B.2010908@shadowen.org>

On Thu, 19 Oct 2006 16:23:07 +0100
Andy Whitcroft <apw@shadowen.org> wrote:

>
> > +#ifdef CONFIG_VMEMMAP_SPARSEMEM
> > +	vmalloc_end -= NR_MEM_SECTIONS * PAGES_PER_SECTION * sizeof(struct page);
> > +	init_vmemmap_sparsemem(vmalloc_end);
> > +#endif
> 
> I thought I saw that this macro was defined to nothing when
> SPARSEMEM_VMEMMAP was undefined, so I'd expect you not to need the
> #ifdef round it here.  If its not defined when SPARSEMEM isn't defined
> then we should probabally change things so it is.  We do that for the
> sparse_init() and sparse_index_init() in linux/mmzone.h, so it would
> seem reasonable to do the same for this.
> 
Okay, I'll check it.

-Kame

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2006-10-20  1:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19  8:23 KAMEZAWA Hiroyuki
2006-10-19 15:23 ` Andy Whitcroft
2006-10-20  1:20   ` KAMEZAWA Hiroyuki [this message]
2006-10-19 16:41 ` Christoph Lameter
2006-10-20  1:35   ` KAMEZAWA Hiroyuki
2006-10-20  1:45     ` Christoph Lameter
2006-10-20  2:08       ` KAMEZAWA Hiroyuki

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=20061020102040.5260e600.kamezawa.hiroyu@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=apw@shadowen.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-mm@kvack.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