Re: [PATCHv3] mm: Account pud page tables

2017-10-04 Thread Michal Hocko
On Wed 04-10-17 17:16:20, Kirill A. Shutemov wrote: > On Wed, Oct 04, 2017 at 03:48:53PM +0200, Michal Hocko wrote: > > On Mon 02-10-17 11:04:27, Kirill A. Shutemov wrote: > > > On machine with 5-level paging support a process can allocate > > > significant amount of memory and stay unnoticed by oo

Re: [PATCHv3] mm: Account pud page tables

2017-10-04 Thread Kirill A. Shutemov
On Wed, Oct 04, 2017 at 03:48:53PM +0200, Michal Hocko wrote: > On Mon 02-10-17 11:04:27, Kirill A. Shutemov wrote: > > On machine with 5-level paging support a process can allocate > > significant amount of memory and stay unnoticed by oom-killer and > > memory cgroup. The trick is to allocate a l

Re: [PATCHv3] mm: Account pud page tables

2017-10-04 Thread Michal Hocko
On Mon 02-10-17 11:04:27, Kirill A. Shutemov wrote: > On machine with 5-level paging support a process can allocate > significant amount of memory and stay unnoticed by oom-killer and > memory cgroup. The trick is to allocate a lot of PUD page tables. > We don't account PUD page tables, only PMD an

Re: [PATCHv3] mm: Account pud page tables

2017-10-04 Thread Kirill A. Shutemov
On Wed, Oct 04, 2017 at 06:03:47AM +, Vlastimil Babka wrote: > On 10/02/2017 10:04 AM, Kirill A. Shutemov wrote: > > On machine with 5-level paging support a process can allocate > > significant amount of memory and stay unnoticed by oom-killer and > > memory cgroup. The trick is to allocate a

Re: [PATCHv3] mm: Account pud page tables

2017-10-03 Thread Vlastimil Babka
On 10/02/2017 10:04 AM, Kirill A. Shutemov wrote: > On machine with 5-level paging support a process can allocate > significant amount of memory and stay unnoticed by oom-killer and > memory cgroup. The trick is to allocate a lot of PUD page tables. > We don't account PUD page tables, only PMD and

Re: [PATCHv3] mm: Account pud page tables

2017-10-03 Thread Rik van Riel
On Mon, 2017-10-02 at 11:04 +0300, Kirill A. Shutemov wrote: > On machine with 5-level paging support a process can allocate > significant amount of memory and stay unnoticed by oom-killer and > memory cgroup. The trick is to allocate a lot of PUD page tables. > We don't account PUD page tables, on