Re: [PATCH 2/2] Cpusets API: Update cpusets to use cgroupstructured file API

From: Andrew Morton
Date: Sat Feb 23 2008 - 03:13:43 EST


On Tue, 19 Feb 2008 20:54:10 -0800 Paul Menage <menage@xxxxxxxxxx> wrote:

> Many of the cpusets control files are simple integer values, which
> don't require the overhead of memory allocations for reads and writes.
>
> Move the handlers for these control files into cpuset_read_uint() and
> cpuset_write_uint(). This also has the advantage that the control
> files show up as "u64" rather than "string" in the cgroup.api file.

again, the naming here is a bit misleading - s/uint/u64/ would be clearer.

It is unclear to me what the relationship is between this and your other
cgroup pseudo-fs changes, but as this is fiddling with a userspace
interface we should get a wiggle on - we don't want to let things like this
slip out to 2.6.26.

So.. please resend everything?
--
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/