Thread (6 messages) flat view 6 messages, 3 authors, 2017-11-27

Re: [PATCH] mm: disable `vm.max_map_count' sysctl limit

From: Michal Hocko <mhocko@kernel.org>
Date: 2017-11-27 19:57:32
Also in: linux-fsdevel, linux-mm, lkml

On Mon 27-11-17 19:32:18, Michal Hocko wrote:
On Mon 27-11-17 09:25:16, Andi Kleen wrote:
[...]
quoted
The reason the limit was there originally because it allows a DoS
attack against the kernel by filling all unswappable memory up with VMAs.
We can reduce the effect by accounting vmas to memory cgroups.
As it turned out we already do.
	vm_area_cachep = KMEM_CACHE(vm_area_struct, SLAB_PANIC|SLAB_ACCOUNT);

-- 
Michal Hocko
SUSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help