Re: [PATCH 3/5] Container Freezer: Implement freezer cgroup subsystem

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Tuesday, August 12, 2008 - 3:56 pm

On Mon, 11 Aug 2008 16:53:26 -0700
Matt Helsley <matthltc@us.ibm.com> wrote:


Is a Documentation/ update planned?  Documentation/cgroups.txt might be
the place, or not.


I wonder why these are inlined.


Should it depend on FREEZER also?

oh,


we did it that way.  Spose that makes sense.


That's a pretty vanilla-sounding identifier.  Let's hope this file
never ends up including drivers/net/sfc/net_driver.h by some means. 
That's rather unlikely, but someone could easily choose to implement a
new STATE_RUNNING somewhere else.


Is this comment in the correct place?


check_if_frozen() is an unfortunate name, I suspect.  Normally one
would expect a check_foo() to return a bool and have no side-effects.

Perhaps some comments explaining what it does would help.


Did some higher-level code take care of removing the trailing \n?


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/5] Container Freezer: Implement freezer cgrou ..., Andrew Morton, (Tue Aug 12, 3:56 pm)
Re: [PATCH 3/5] Container Freezer: Implement freezer cgrou ..., Rafael J. Wysocki, (Wed Aug 13, 7:51 am)