[Uclinux-h8-devel] [PATCH 14/15] x86/numa: remove redundant iteration over memblock.reserved

Zurück zum Archiv-Index
Ingo Molnar mingo****@kerne*****
2020年 7月 28日 (火) 20:31:26 JST


* Mike Rapoport <rppt****@kerne*****> wrote:

> On Tue, Jul 28, 2020 at 12:44:40PM +0200, Ingo Molnar wrote:
> > 
> > * Mike Rapoport <rppt****@kerne*****> wrote:
> > 
> > > From: Mike Rapoport <rppt****@linux*****>
> > > 
> > > numa_clear_kernel_node_hotplug() function first traverses numa_meminfo
> > > regions to set node ID in memblock.reserved and than traverses
> > > memblock.reserved to update reserved_nodemask to include node IDs that were
> > > set in the first loop.
> > > 
> > > Remove redundant traversal over memblock.reserved and update
> > > reserved_nodemask while iterating over numa_meminfo.
> > > 
> > > Signed-off-by: Mike Rapoport <rppt****@linux*****>
> > > ---
> > >  arch/x86/mm/numa.c | 26 ++++++++++----------------
> > >  1 file changed, 10 insertions(+), 16 deletions(-)
> > 
> > I suspect you'd like to carry this in the -mm tree?
> 
> Yes.
>  
> > Acked-by: Ingo Molnar <mingo****@kerne*****>
> 
> Thanks!

Assuming it is correct and works. :-)

Thanks,

	Ingo



Uclinux-h8-devel メーリングリストの案内
Zurück zum Archiv-Index