lkml.org 
[lkml]   [2017]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] base/memory: pass the base_section in add_memory_block
On Wed, Jun 07, 2017 at 04:52:12PM +0800, Wei Yang wrote:
> The second parameter of init_memory_block() is used to calculate the
> start_section_nr of this block, which means any section in the same block
> would get the same start_section_nr.
>
> This patch passes the base_section to init_memory_block(), so that to
> reduce a local variable and a check in every loop.
>
> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
> ---
> drivers/base/memory.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)

Can you resend this and cc: linux-mm? I think the developers there need
to review this.

thanks,

greg k-h

\
 
 \ /
  Last update: 2017-06-13 15:44    [W:0.041 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site