login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
30
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cgroup subsystem
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Matt Helsley <matthltc@...>
To: Linux-Kernel <linux-kernel@...>
Cc: Cedric Le Goater <clg@...>, Paul Menage <menage@...>, Oren Laadan <orenl@...>, Linus Torvalds <torvalds@...>, Pavel Machek <pavel@...>, <linux-pm@...>, Linux Containers <containers@...>
Subject:
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cgroup subsystem
Date: Wednesday, April 30, 2008 - 6:30 pm
On Wed, 2008-04-30 at 14:28 -0700, Matt Helsley wrote:
quoted text
> On Wed, 2008-04-23 at 23:47 -0700, Matt Helsley wrote: > > <snip>
quoted text
> > + cgroup_lock(); > > + > > + if (cgroup_is_removed(cgroup)) { > > + retval = -ENODEV; > > + goto unlock; > > + } > > I think this was copy/paste'd from cgroup_common_file_write() which > modifies the cgroup hierarchy. However this function does not modify the > cgroup hierarchy and we're not getting the cgroup from the task. So I > don't think cgroup_lock()/unlock() are needed here. Paul, do you agree?
Oops! I didn't track the call chain correctly. Sorry for the noise... Cheers, -Matt Helsley --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC][PATCH 3/5] Container Freezer: Implement freezer cgroup...
, Matt Helsley
, (Thu Apr 24, 2:47 am)
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cg...
, Matt Helsley
, (Wed Apr 30, 5:28 pm)
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cg...
, Matt Helsley
, (Wed Apr 30, 6:30 pm)
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cg...
, Paul Menage
, (Fri Apr 25, 1:51 am)
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cg...
, Matt Helsley
, (Wed Apr 30, 6:39 am)
Re: [RFC][PATCH 3/5] Container Freezer: Implement freezer cg...
, Serge E. Hallyn
, (Mon Apr 28, 12:03 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 005/196] Chinese: add translation of SubmittingDrivers
Adrian Bunk
[1/6] 2.6.21-rc2: known regressions
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andrew Morton
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
643 guests
online.
Online users
primalforce
Nelson
shirleybarry82
shredding
Syndicate