Re: [PATCHv2] mm: Account pud page tables

2017-09-30 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc2] [cannot apply to next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/mm-Accoun

Re: [PATCHv2] mm: Account pud page tables

2017-09-30 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc2] [cannot apply to next-20170929] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/mm-Accoun

Re: [PATCHv2] mm: Account pud page tables

2017-09-26 Thread Michal Hocko
On Mon 25-09-17 10:39:13, 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: [PATCHv2] mm: Account pud page tables

2017-09-26 Thread Michal Hocko
On Tue 26-09-17 12:43:44, Kirill A. Shutemov wrote: > On Mon, Sep 25, 2017 at 03:53:05PM +0200, Michal Hocko wrote: > > On Mon 25-09-17 16:07:15, Kirill A. Shutemov wrote: > > > On Mon, Sep 25, 2017 at 01:54:30PM +0200, Michal Hocko wrote: > > > > On Mon 25-09-17 10:39:13, Kirill A. Shutemov wrote:

Re: [PATCHv2] mm: Account pud page tables

2017-09-26 Thread Kirill A. Shutemov
On Mon, Sep 25, 2017 at 03:53:05PM +0200, Michal Hocko wrote: > On Mon 25-09-17 16:07:15, Kirill A. Shutemov wrote: > > On Mon, Sep 25, 2017 at 01:54:30PM +0200, Michal Hocko wrote: > > > On Mon 25-09-17 10:39:13, Kirill A. Shutemov wrote: > > > > On machine with 5-level paging support a process ca

Re: [PATCHv2] mm: Account pud page tables

2017-09-25 Thread Michal Hocko
On Mon 25-09-17 16:07:15, Kirill A. Shutemov wrote: > On Mon, Sep 25, 2017 at 01:54:30PM +0200, Michal Hocko wrote: > > On Mon 25-09-17 10:39:13, 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: [PATCHv2] mm: Account pud page tables

2017-09-25 Thread Kirill A. Shutemov
On Mon, Sep 25, 2017 at 01:54:30PM +0200, Michal Hocko wrote: > On Mon 25-09-17 10:39:13, 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: [PATCHv2] mm: Account pud page tables

2017-09-25 Thread Michal Hocko
On Mon 25-09-17 10:39:13, 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

[PATCHv2] mm: Account pud page tables

2017-09-25 Thread Kirill A. Shutemov
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 PTE. We already addressed the same issue for PMD page tab