lkml.org 
[lkml]   [2008]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64: free_bootmem should take phy
On Thu, 13 Mar 2008 12:13:23 -0700
"Yinghai Lu" <yhlu.kernel@gmail.com> wrote:

> [PATCH] x86_64: free_bootmem should take phys
>
> so use nodedata_phys directly.
>
> Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.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?

Thanks.



\
 
 \ /
  Last update: 2008-03-13 23:07    [W:0.040 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site