[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080513131134.8b1cefe2.akpm@linux-foundation.org>
Date: Tue, 13 May 2008 13:11:34 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: menage@...gle.com
Cc: pj@....com, xemul@...nvz.org, balbir@...ibm.com, serue@...ibm.com,
linux-kernel@...r.kernel.org, containers@...ts.linux-foundation.org
Subject: Re: [RFC/PATCH 6/8]: CGroup Files: Remove
cpuset_common_file_write()
On Mon, 12 May 2008 23:37:13 -0700
menage@...gle.com wrote:
> @@ -1412,14 +1355,18 @@ static struct cftype files[] = {
> {
> .name = "cpus",
> .read = cpuset_common_file_read,
> - .write = cpuset_common_file_write,
> + .write_string = update_cpumask,
> + .max_write_len = (100U + 6 * NR_CPUS),
hm, magic handwavy surely-enough-for-anyone constants.
What's going on here?
> + .lockmode = CFT_LOCK_CGL_WRITE,
> .private = FILE_CPULIST,
> },
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists