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

From: Balbir Singh
Date: Tue Mar 11 2008 - 06:15:37 EST


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.

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
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/