diff options
author | Glauber Costa <[email protected]> | 2012-01-20 04:57:15 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-01-22 15:08:45 -0500 |
commit | 8cfd14ad1eb52e44cb1fe7b47a68126e45e04026 (patch) | |
tree | 5c526f7ced428e65db025ba7af29ca114031c302 /lib/cpu-notifier-error-inject.c | |
parent | 376be5ff8a6a36efadd131860cf26841f366d44c (diff) |
cgroup: make sure memcg margin is 0 when over limit
For the memcg sock code, we'll need to register allocations
that are temporarily over limit. Let's make sure that margin
is 0 in this case.
I am keeping this as a separate patch, so that if any weirdness
interaction appears in the future, we can now exactly what caused
it.
Suggested by Johannes Weiner
Signed-off-by: Glauber Costa <[email protected]>
CC: KAMEZAWA Hiroyuki <[email protected]>
CC: Johannes Weiner <[email protected]>
CC: Michal Hocko <[email protected]>
CC: Tejun Heo <[email protected]>
CC: Li Zefan <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions