Re: [PATCH 2/3] memcg: put a restriction on writingmemory.force_empty

From: KAMEZAWA Hiroyuki
Date: Tue Mar 11 2008 - 06:28:51 EST


On Tue, 11 Mar 2008 15:45:06 +0530
Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:

> Li Zefan wrote:
> > We can write whatever to memory.force_empty:
> >
> > echo 999 > memory.force_empty
> > echo wow > memory.force_empty
> >
> > This is odd, so let's make '1' to be the only valid value.
>
> I suspect as long as there is no unreasonable side-effect, writing 999 or wow
> should be OK.
>
I agree with Balbir.

Thanks,
-Kame

--
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/