Re: [PATCH] mm, oom: consider present pages for the node size

2019-08-29 Thread David Rientjes
On Thu, 29 Aug 2019, Michal Hocko wrote: > From: Michal Hocko > > constrained_alloc calculates the size of the oom domain by using > node_spanned_pages which is incorrect because this is the full range of > the physical memory range that the numa node occupies rather than the > memory that

Re: [PATCH] mm, oom: consider present pages for the node size

2019-08-29 Thread David Hildenbrand
On 29.08.19 18:34, Michal Hocko wrote: > From: Michal Hocko > > constrained_alloc calculates the size of the oom domain by using > node_spanned_pages which is incorrect because this is the full range of > the physical memory range that the numa node occupies rather than the > memory that backs

[PATCH] mm, oom: consider present pages for the node size

2019-08-29 Thread Michal Hocko
From: Michal Hocko constrained_alloc calculates the size of the oom domain by using node_spanned_pages which is incorrect because this is the full range of the physical memory range that the numa node occupies rather than the memory that backs that range which is represented by