Messages in this thread | | | Date | Thu, 26 Jan 2012 11:46:33 +0100 | From | Lutz Vieweg <> | Subject | Re: [PATCH] mm: preallocate page before lock_page at filemap COW. (WasRe: [PATCH V2] mm: Do not keep page locked during page fault while charging it for memcg |
| |
On 07/12/2011 11:48 AM, Michal Hocko wrote: > Is there any intereset in discussing this or the email just got lost? > Just for reference preallocation patch from Kamezawa is already in the > Andrew's tree.
It's been a long time since this discussion, I just wanted to add that I've been recently able to confirm the ability of memcg to prevent single users from DOSing a system by "make -j" - in a real-world scenario (using linux-3.2.1).
So thanks to all who contributed to the solution in whatever way :-)
(A minor issue remained: The kernel is very verbose when killing tasks due to memcg restrictions. In fork-bomb like scenarios, this can lead to high resource utilization for syslog et al.)
Regards,
Lutz Vieweg
| |