[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <86802c440803131510m30621bd7p6446826a5f121395@mail.gmail.com>
Date: Thu, 13 Mar 2008 15:10:46 -0700
From: "Yinghai Lu" <yhlu.kernel@...il.com>
To: "Andrew Morton" <akpm@...ux-foundation.org>
Cc: mingo@...e.hu, clameter@....com, linux-kernel@...r.kernel.org,
ak@...e.de, y-goto@...fujitsu.com, kamezawa.hiroyu@...fujitsu.com
Subject: Re: [PATCH] x86_64: free_bootmem should take phy
On Thu, Mar 13, 2008 at 3:04 PM, Andrew Morton
<akpm@...ux-foundation.org> wrote:
> On Thu, 13 Mar 2008 12:13:23 -0700
> "Yinghai Lu" <yhlu.kernel@...il.com> wrote:
>
> > [PATCH] x86_64: free_bootmem should take phys
> >
> > so use nodedata_phys directly.
> >
> > Signed-off-by: Yinghai Lu <yhlu.kernel@...il.com>
> >
> > diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c
> > index 0c9b2bd..18267a0 100644
> > --- a/arch/x86/mm/numa_64.c
> > +++ b/arch/x86/mm/numa_64.c
> > @@ -221,8 +221,7 @@ void __init setup_node_bootmem(int nodeid, unsigned long start,
> > bootmap_pages<<PAGE_SHIFT, PAGE_SIZE);
> > if (bootmap == NULL) {
> > if (nodedata_phys < start || nodedata_phys >= end)
> > - free_bootmem((unsigned long)node_data[nodeid],
> > - pgdat_size);
> > + free_bootmem(nodedata_phys, pgdat_size);
> > node_data[nodeid] = NULL;
> > return;
> > }
> >
>
> Can you please confirm that this change has no dependency upon your other
> recent changes?
it has not dependency upon to other recent changes.
YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists