login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
29
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Paul Menage
Subject:
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
Date: Thursday, October 28, 2010 - 5:06 pm
On Fri, Oct 22, 2010 at 2:46 PM, Matt Helsley <matthltc@us.ibm.com> wrote:
quoted text
>> Alternately you could split the bind/unbind op function pointers >> and get rid of the boolean argument. Then just don't fill in the >> freezer's unbind op and refuse to unbind subsystems that lack >> the unbind op. That seems a bit cleaner for now at least. > > Or alternately to the alternate :): add a can_unbind:1 field and keep > the boolean bind op argument. That might be best -- avoids an extra > function pointer and still splits the bind/unbind-ability of a > subsystem.
I think I'd vote for the separate bind() / unbind() callbacks. Paul --
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:
[PATCH 0/7] cgroups: Allow to bind/unbind subsystems to/fr ...
, Li Zefan
, (Fri Oct 22, 1:09 am)
[PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Fri Oct 22, 1:09 am)
[PATCH 2/7] cgroups: Allow to bind a subsystem to a cgroup ...
, Li Zefan
, (Fri Oct 22, 1:09 am)
[PATCH 3/7] cgroups: Allow to unbind subsystem from a cgro ...
, Li Zefan
, (Fri Oct 22, 1:10 am)
[PATCH 4/7] cgroups: Mark some subsystems bindable
, Li Zefan
, (Fri Oct 22, 1:11 am)
[PATCH 5/7] cgroups: Make freezer subsystem bindable
, Li Zefan
, (Fri Oct 22, 1:11 am)
[PATCH 6/7] cgroups: Warn if a bindable subsystem calls cs ...
, Li Zefan
, (Fri Oct 22, 1:12 am)
[PATCH 7/7] cgroups: Update documentation for bindable sub ...
, Li Zefan
, (Fri Oct 22, 1:12 am)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Peter Zijlstra
, (Fri Oct 22, 5:47 am)
Re: [PATCH 0/7] cgroups: Allow to bind/unbind subsystems t ...
, Peter Zijlstra
, (Fri Oct 22, 5:50 am)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Matt Helsley
, (Fri Oct 22, 1:57 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Matt Helsley
, (Fri Oct 22, 2:38 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Matt Helsley
, (Fri Oct 22, 2:46 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Matt Helsley
, (Fri Oct 22, 2:57 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, KAMEZAWA Hiroyuki
, (Sun Oct 24, 5:36 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Li Zefan
, (Sun Oct 24, 5:52 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Li Zefan
, (Sun Oct 24, 5:56 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Li Zefan
, (Sun Oct 24, 5:59 pm)
Re: [PATCH 0/7] cgroups: Allow to bind/unbind subsystems t ...
, Li Zefan
, (Sun Oct 24, 6:07 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Li Zefan
, (Sun Oct 24, 6:15 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Li Zefan
, (Sun Oct 24, 6:23 pm)
Re: [PATCH 0/7] cgroups: Allow to bind/unbind subsystems t ...
, Paul Menage
, (Thu Oct 28, 4:33 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Thu Oct 28, 4:34 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Paul Menage
, (Thu Oct 28, 4:55 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Paul Menage
, (Thu Oct 28, 4:57 pm)
Re: [PATCH 3/7] cgroups: Allow to unbind subsystem from a ...
, Paul Menage
, (Thu Oct 28, 5:02 pm)
Re: [PATCH 6/7] cgroups: Warn if a bindable subsystem call ...
, Paul Menage
, (Thu Oct 28, 5:05 pm)
Re: [PATCH 5/7] cgroups: Make freezer subsystem bindable
, Paul Menage
, (Thu Oct 28, 5:06 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Paul Menage
, (Thu Oct 28, 5:13 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Paul Menage
, (Thu Oct 28, 5:15 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Sun Nov 7, 10:23 pm)
Re: [PATCH 2/7] cgroups: Allow to bind a subsystem to a cg ...
, Li Zefan
, (Sun Nov 7, 10:26 pm)
Re: [PATCH 7/7] cgroups: Update documentation for bindable ...
, Li Zefan
, (Sun Nov 7, 10:27 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Tue Nov 9, 2:05 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Tue Nov 9, 5:52 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Tue Nov 9, 6:53 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Li Zefan
, (Tue Nov 9, 7:06 pm)
Re: [PATCH 1/7] cgroups: Shrink struct cgroup_subsys
, Paul Menage
, (Tue Nov 9, 7:15 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Brownell
Re: build #337 failed for 2.6.24-rc1-gb1d08ac In function `usbnet_set_settings':
Matthew Garrett
Re: 2.6.25-rc6 regression - hang on resume [Bug 10319]
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Jonathan Nieder
Re: [PATCH v2] git-send-email.perl: fix In-Reply-To for second and subsequent patc...
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric Dumazet
Re: HTB accuracy on 10GbE
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
ixgbe: fix automatic LRO/RSC settings for low latency
Linux Kernel Mailing List
3c515: convert to net_device_ops
openbsd-misc
:
Samuel Baldwin
Re: Forum engine
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
Claudio Jeker
Re: OT: Python (was Re: vi in /bin)
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Colocation donated by:
Syndicate