[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080620234358.182933000@menage.corp.google.com>
Date: Fri, 20 Jun 2008 16:43:58 -0700
From: menage@...gle.com
To: pj@....com, xemul@...nvz.org, balbir@...ibm.com, serue@...ibm.com,
akpm@...ux-foundation.org
Cc: linux-kernel@...r.kernel.org, containers@...ts.linux-foundation.org
Subject: [PATCH 0/8] CGroup Files: Add write_string control file method
This is a resend of a patchset that I sent last month, reworked to
remove some controversial locking proposals. All locking is now explicit.
This patchset provides:
1) A new write_string() cgroup file method that copies the user's data
to kernel space and invokes the relevant handler with the
nul-terminated kernelspace buffer
2) A new helper function, cgroup_lock_live_group(), which combines
taking the cgroup lock and checking the liveness of a cgroup, to allow
simplification of a common lock/check idiom in cgroup file handlers.
3) Conversion of several raw write handlers in cgroup, cpuset,
devcgroup and res_counter to use typed handlers and the new locking
specifications.
Signed-off-by: Paul Menage <menage@...gle.com>
--
--
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