Re: [RFC][PATCH 5/5] memcg: drain per cpu stock

From: Balbir Singh
Date: Mon Aug 31 2009 - 07:11:56 EST


* KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> [2009-08-28 13:28:09]:

>
> Add function for dropping per-cpu stock of charges.
> This is called when
> - cpu is unplugged.
> - force_empty
> - recalim seems to be not easy.
>
> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

The complexity of this patch and additional code make percpu_counter
more attractive. Why not work on percpu_counter if that is not as good
as we expect it to be and in turn help other exploiters as well.
--
Balbir
--
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/