Re: [PATCH] mm: account pmd page tables to the process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 14, 2015 at 06:51:56PM +0200, Kirill A. Shutemov wrote:
> Dave noticed that unprivileged process can allocate significant amount
> of memory -- >500 MiB on x86_64 -- and stay unnoticed by oom-killer and
> memory cgroup. The trick is to allocate a lot of PMD page tables. Linux
> kernel doesn't account PMD tables to the process, only PTE.
> 
> The use-cases below use few tricks to allocate a lot of PMD page tables
> while keeping VmRSS and VmPTE low. oom_score for the process will be 0.

Reviewed-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]