Re: [PATCH v4 1/8] Basic kernel memory functionality for the MemoryController

From: Glauber Costa
Date: Mon Oct 03 2011 - 06:42:33 EST


On 10/03/2011 02:41 PM, Kirill A. Shutemov wrote:
On Mon, Oct 03, 2011 at 02:18:36PM +0400, Glauber Costa wrote:
This patch lays down the foundation for the kernel memory component
of the Memory Controller.

As of today, I am only laying down the following files:

* memory.independent_kmem_limit
* memory.kmem.limit_in_bytes (currently ignored)
* memory.kmem.usage_in_bytes (always zero)

Signed-off-by: Glauber Costa<glommer@xxxxxxxxxxxxx>
CC: Paul Menage<paul@xxxxxxxxxxxxxx>
CC: Greg Thelen<gthelen@xxxxxxxxxx>

Reviewed-by: Kirill A. Shutemov<kirill@xxxxxxxxxxxxx>

One comment bellow.

diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index ebd1e86..8aaf4ce 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -72,8 +72,6 @@ static int really_do_swap_account __initdata = 0;
#else
#define do_swap_account (0)
#endif
-
-
/*
* Statistics for memory cgroup.
*/

Please drop this hunk.

Just did. Thanks for noticing, I missed this one.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/