Re: [PATCH] properly reserve in bootmem the lmb reserved regions that cross numa nodes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jon Tollefson <kniht@...>
Cc: linuxppc-dev <linuxppc-dev@...>, Linux Memory Management List <linux-mm@...>, Linux Kernel Mailing List <linux-kernel@...>, Adam Litke <agl@...>
Date: Tuesday, September 30, 2008 - 11:47 am

This seems like the right approach to me.  I have pointed out a few
stylistic issues below.

On Tue, 2008-09-30 at 09:53 -0500, Jon Tollefson wrote:
<snip>

CodingStyle dictates that this should be:
unsigned long end_pfn = ((physbase + size - 1) >> PAGE_SHIFT);

<snip>


Bad style.  I think the convention would be to write it like this:

struct node_active_region *
get_node_active_region(unsigned long start_pfn)


Since this is using the early_node_map[], should we mark the function
__mminit?  

-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] properly reserve in bootmem the lmb reserved reg..., Adam Litke, (Tue Sep 30, 11:47 am)