Re: [patch 0/7] cpuset writeback throttling

From: Peter Zijlstra
Date: Tue Nov 04 2008 - 15:52:42 EST


On Tue, 2008-11-04 at 12:47 -0800, Andrew Morton wrote:
> On Thu, 30 Oct 2008 12:23:10 -0700 (PDT)
> David Rientjes <rientjes@xxxxxxxxxx> wrote:
>
> > This is the revised cpuset writeback throttling patchset
>
> I'm all confused about why this is a cpuset thing rather than a cgroups
> thing. What are the relationships here?
>
> I mean, writeback throttling _should_ operate upon a control group
> (more specifically: a memcg), yes? I guess you're assuming a 1:1
> relationship here?

I think the main reason is that we have per-node vmstats so the cpuset
extention is relatively easy. Whereas we do not currently maintain
vmstats on a cgroup level - although I imagine that could be remedied.
--
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/