linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: mingo@redhat.com, tglx@linutronix.de, benh@kernel.crashing.org,
	yinghai@kernel.org, davem@davemloft.net,
	linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
	x86@kernel.org
Subject: Re: [PATCH 1/8] bootmem: Replace work_with_active_regions() with for_each_mem_pfn_range()
Date: Thu, 14 Jul 2011 09:44:55 +0200	[thread overview]
Message-ID: <20110714074455.GC3455@htj.dyndns.org> (raw)
In-Reply-To: <4E1E5058.5020702@zytor.com>

On Wed, Jul 13, 2011 at 07:11:36PM -0700, H. Peter Anvin wrote:
> On 07/12/2011 01:46 AM, Tejun Heo wrote:
> > Callback based iteration is cumbersome and much less useful than
> > for_each_*() iterator.  This patch implements for_each_mem_pfn_range()
> > which replaces work_with_active_regions().  All the current users of
> > work_with_active_regions() are converted.
> > 
> > This simplifies walking over early_node_map and will allow converting
> > internal logics in page_alloc to use iterator instead of walking
> > early_node_map directly, which in turn will enable moving node
> > information to memblock.
> > 
> > powerpc change is only compile tested.
> > 
> > Signed-off-by: Tejun Heo <tj@kernel.org>
> > Cc: Yinghai Lu <yinghai@kernel.org>
> > Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> 
> This patch causes a build failure on x86-64 with the attached .config:
> 
> /home/hpa/kernel/linux-2.6-tip.memblock/drivers/pci/intel-iommu.c: In
> function ‘si_domain_init’:
> /home/hpa/kernel/linux-2.6-tip.memblock/drivers/pci/intel-iommu.c:2216:4: error:
> implicit declaration of function ‘iommuc_domain_identity_map’
> [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors

It was a typo that I fixed before sending the patches but obviously I
sent the old one.  The git tree had the updated one.  I'll re-post the
updated one.

Thank you.

-- 
tejun

  reply	other threads:[~2011-07-14  7:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-12  8:46 [PATCHSET x86/mm] memblock, x86: Implement for_each_mem_pfn_range() and use it to improve memblock allocator Tejun Heo
2011-07-12  8:46 ` [PATCH 1/8] bootmem: Replace work_with_active_regions() with for_each_mem_pfn_range() Tejun Heo
2011-07-12  8:46   ` Tejun Heo
2011-07-14  2:11   ` H. Peter Anvin
2011-07-14  7:44     ` Tejun Heo [this message]
2011-07-14  7:46   ` [PATCH UPDATED " Tejun Heo
2011-07-12  8:46 ` [PATCH 2/8] bootmem: Reimplement __absent_pages_in_range() using for_each_mem_pfn_range() Tejun Heo
2011-07-12  8:46   ` Tejun Heo
2011-07-12  8:46 ` [PATCH 3/8] bootmem: Use for_each_mem_pfn_range() in page_alloc.c Tejun Heo
2011-07-12  8:46   ` Tejun Heo
2011-07-12  8:46 ` [PATCH 4/8] memblock: Improve generic memblock_nid_range() using for_each_mem_pfn_range() Tejun Heo
2011-07-12  8:46   ` Tejun Heo
2011-07-12  8:46 ` [PATCH 5/8] memblock: Don't allow archs to override memblock_nid_range() Tejun Heo
2011-07-12  8:46   ` Tejun Heo
2011-07-12  8:46 ` [PATCH 6/8] memblock: Make memblock_alloc_[try_]nid() top-down Tejun Heo
2011-07-12  8:46 ` [PATCH 7/8] memblock: Separate out memblock_find_in_range_node() Tejun Heo
2011-07-12  8:46 ` [PATCH 8/8] memblock, x86: Replace memblock_x86_find_in_range_node() with generic memblock calls Tejun Heo
2011-07-12  8:46   ` Tejun Heo

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=20110714074455.GC3455@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=hpa@zytor.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yinghai@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;
as well as URLs for NNTP newsgroup(s).