login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
6
Re: [-mm][PATCH 1/4] Setup the rlimit controller
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Li Zefan
Subject:
Re: [-mm][PATCH 1/4] Setup the rlimit controller
Date: Monday, May 5, 2008 - 6:31 pm
Balbir Singh wrote:
quoted text
> +struct cgroup_subsys rlimit_cgroup_subsys; > + > +struct rlimit_cgroup { > + struct cgroup_subsys_state css; > + struct res_counter as_res; /* address space counter */ > +}; > + > +static struct rlimit_cgroup init_rlimit_cgroup; > + > +struct rlimit_cgroup *rlimit_cgroup_from_cgrp(struct cgroup *cgrp)
It can be static if I don't miss anything.
quoted text
> +{ > + return container_of(cgroup_subsys_state(cgrp, rlimit_cgroup_subsys_id), > + struct rlimit_cgroup, css); > +} > +
--
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:
[-mm][PATCH 0/4] Add rlimit controller to cgroups (v3)
, Balbir Singh
, (Sat May 3, 2:37 pm)
[-mm][PATCH 1/4] Setup the rlimit controller
, Balbir Singh
, (Sat May 3, 2:37 pm)
[-mm][PATCH 2/4] Enhance cgroup mm_owner_changed callback ...
, Balbir Singh
, (Sat May 3, 2:38 pm)
[-mm][PATCH 3/4] Add rlimit controller accounting and control
, Balbir Singh
, (Sat May 3, 2:38 pm)
[-mm][PATCH 4/4] Add rlimit controller documentation
, Balbir Singh
, (Sat May 3, 2:38 pm)
Re: [-mm][PATCH 0/4] Add rlimit controller to cgroups (v3)
, kamezawa.hiroyu
, (Sun May 4, 8:24 am)
Re: Re: [-mm][PATCH 0/4] Add rlimit controller to cgroups (v3)
, kamezawa.hiroyu
, (Sun May 4, 8:27 am)
Re: [-mm][PATCH 0/4] Add rlimit controller to cgroups (v3)
, Balbir Singh
, (Sun May 4, 9:21 pm)
Re: [-mm][PATCH 0/4] Add rlimit controller to cgroups (v3)
, Balbir Singh
, (Sun May 4, 9:24 pm)
Re: [-mm][PATCH 1/4] Setup the rlimit controller
, Andrew Morton
, (Mon May 5, 3:11 pm)
Re: [-mm][PATCH 2/4] Enhance cgroup mm_owner_changed callb ...
, Andrew Morton
, (Mon May 5, 3:15 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Andrew Morton
, (Mon May 5, 3:24 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, David Rientjes
, (Mon May 5, 3:32 pm)
Re: [-mm][PATCH 4/4] Add rlimit controller documentation
, Andrew Morton
, (Mon May 5, 3:35 pm)
Re: [-mm][PATCH 2/4] Enhance cgroup mm_owner_changed callb ...
, Paul Menage
, (Mon May 5, 4:00 pm)
Re: [-mm][PATCH 1/4] Setup the rlimit controller
, Li Zefan
, (Mon May 5, 6:31 pm)
Re: [-mm][PATCH 1/4] Setup the rlimit controller
, Balbir Singh
, (Mon May 5, 8:40 pm)
Re: [-mm][PATCH 2/4] Enhance cgroup mm_owner_changed callb ...
, Balbir Singh
, (Mon May 5, 8:43 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Balbir Singh
, (Mon May 5, 10:34 pm)
Re: [-mm][PATCH 4/4] Add rlimit controller documentation
, Balbir Singh
, (Mon May 5, 10:39 pm)
Re: [-mm][PATCH 4/4] Add rlimit controller documentation
, Andrew Morton
, (Mon May 5, 10:54 pm)
Re: [-mm][PATCH 4/4] Add rlimit controller documentation
, Balbir Singh
, (Tue May 6, 12:59 am)
Re: [-mm][PATCH 1/4] Setup the rlimit controller
, Balbir Singh
, (Tue May 6, 1:15 am)
Re: [-mm][PATCH 0/4] Add rlimit controller to cgroups (v3)
, KAMEZAWA Hiroyuki
, (Tue May 6, 6:09 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Paul Menage
, (Tue May 6, 8:17 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Paul Menage
, (Tue May 6, 8:29 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Pavel Emelyanov
, (Tue May 6, 10:59 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Balbir Singh
, (Thu May 8, 7:35 am)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Balbir Singh
, (Thu May 8, 7:54 am)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Paul Menage
, (Thu May 8, 2:45 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Paul Menage
, (Thu May 8, 4:22 pm)
Re: [-mm][PATCH 3/4] Add rlimit controller accounting and ...
, Balbir Singh
, (Fri May 9, 6:35 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
openbsd-misc
:
James Hozier
Re: DVD burn error: No space left on device
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Very Fashion.com
Very-fashion.com -Novo! Brendirana garderoba po najpovoljnijim cenama.Bisou Bisou ...
Colocation donated by:
Syndicate