https://github.com/torvalds/linux
Revision bc127bda37db2792fa7f02a8d258731ecf3e4b8b authored by Rafael Aquini on 02 December 2014, 23:59:22 UTC, committed by Linus Torvalds on 03 December 2014, 01:32:07 UTC
Minor fixlet to perform the reserved pages counter aggregation for each
node, at show_mem()

Signed-off-by: Rafael Aquini <aquini@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Johannes Weiner <jweiner@redhat.com>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 3a18ca0
Raw File
Tip revision: bc127bda37db2792fa7f02a8d258731ecf3e4b8b authored by Rafael Aquini on 02 December 2014, 23:59:22 UTC
mm: do not overwrite reserved pages counter at show_mem()
Tip revision: bc127bd
resource-control.txt
There are a lot of kinds of objects in the kernel that don't have
individual limits or that have limits that are ineffective when a set
of processes is allowed to switch user ids.  With user namespaces
enabled in a kernel for people who don't trust their users or their
users programs to play nice this problems becomes more acute.

Therefore it is recommended that memory control groups be enabled in
kernels that enable user namespaces, and it is further recommended
that userspace configure memory control groups to limit how much
memory user's they don't trust to play nice can use.

Memory control groups can be configured by installing the libcgroup
package present on most distros editing /etc/cgrules.conf,
/etc/cgconfig.conf and setting up libpam-cgroup.
back to top