Re: [QUESTIONS] THP allocation in NUMA fault migration path

2019-04-19 Thread Yang Shi
On 4/19/19 4:13 AM, Mel Gorman wrote: On Thu, Apr 18, 2019 at 09:18:15AM -0700, Yang Shi wrote: On 4/17/19 11:32 PM, Michal Hocko wrote: On Wed 17-04-19 21:15:41, Yang Shi wrote: Hi folks, I noticed that there might be new THP allocation in NUMA fault migration path (migrate_misplaced_tr

Re: [QUESTIONS] THP allocation in NUMA fault migration path

2019-04-19 Thread Mel Gorman
On Thu, Apr 18, 2019 at 09:18:15AM -0700, Yang Shi wrote: > > > On 4/17/19 11:32 PM, Michal Hocko wrote: > > On Wed 17-04-19 21:15:41, Yang Shi wrote: > > > Hi folks, > > > > > > > > > I noticed that there might be new THP allocation in NUMA fault migration > > > path (migrate_misplaced_transhu

Re: [QUESTIONS] THP allocation in NUMA fault migration path

2019-04-18 Thread Yang Shi
On 4/17/19 11:32 PM, Michal Hocko wrote: On Wed 17-04-19 21:15:41, Yang Shi wrote: Hi folks, I noticed that there might be new THP allocation in NUMA fault migration path (migrate_misplaced_transhuge_page()) even when THP is disabled (set to "never"). When THP is set to "never", there shoul

Re: [QUESTIONS] THP allocation in NUMA fault migration path

2019-04-17 Thread Michal Hocko
On Wed 17-04-19 21:15:41, Yang Shi wrote: > Hi folks, > > > I noticed that there might be new THP allocation in NUMA fault migration > path (migrate_misplaced_transhuge_page()) even when THP is disabled (set to > "never"). When THP is set to "never", there should be not any new THP > allocation,

[QUESTIONS] THP allocation in NUMA fault migration path

2019-04-17 Thread Yang Shi
Hi folks, I noticed that there might be new THP allocation in NUMA fault migration path (migrate_misplaced_transhuge_page()) even when THP is disabled (set to "never"). When THP is set to "never", there should be not any new THP allocation, but the migration path is kind of special. So I'm no