Re: [RFC] [PATCH -mm] cgroup: limit the amount of dirty file pages

From: kamezawa . hiroyu
Date: Tue Sep 09 2008 - 12:26:56 EST


----- Original Message -----
>This is a totally experimental patch against 2.6.27-rc5-mm1.
>
>It allows to control how much dirty file pages a cgroup can have at any
>given time. This feature is supposed to be strictly connected to a
>generic cgroup IO controller (see below).
>
>Interface: a new entry "filedirty" is added to the file memory.stat,
>reporting the number of dirty file pages (in pages), and a new file
>memory.file_dirty_limit_in_pages is added in the cgroup filesystem to
>show/set the current limit.
>
Before staring patch review, why not dirty_ratio per memcg ?
Is there difficult implementation issue ?

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/