Messages in this thread | | | Date | Tue, 13 Jun 2017 15:43:30 +0200 | From | Greg KH <> | Subject | Re: [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
| |