Re: [PATCH 01/10] mm/numa: node demotion data structure and lookup

2021-04-08 Thread Wei Xu
It makes sense to start with a simple node tiering model like this change, which looks good to me. I do want to mention a likely usage scenario that motivates the need for a list of nodes as the demotion target of a source node. Access to a cross-socket DRAM node is still fast enough. So to mini

Re: [PATCH 01/10] mm/numa: node demotion data structure and lookup

2021-04-08 Thread Dave Hansen
On 4/8/21 1:03 AM, Oscar Salvador wrote: > I think this patch and patch#2 could be squashed > > Reviewed-by: Oscar Salvador Yeah, that makes a lot of sense. I'll do that for the next version.

Re: [PATCH 01/10] mm/numa: node demotion data structure and lookup

2021-04-08 Thread Oscar Salvador
On Thu, Apr 01, 2021 at 11:32:18AM -0700, Dave Hansen wrote: > > From: Dave Hansen > > Prepare for the kernel to auto-migrate pages to other memory nodes > with a user defined node migration table. This allows creating single > migration target for each NUMA node to enable the kernel to do NUMA

Re: [PATCH 01/10] mm/numa: node demotion data structure and lookup

2021-03-08 Thread Yang Shi
On Thu, Mar 4, 2021 at 4:00 PM Dave Hansen wrote: > > > From: Dave Hansen > > Prepare for the kernel to auto-migrate pages to other memory nodes > with a user defined node migration table. This allows creating single > migration target for each NUMA node to enable the kernel to do NUMA > page mig