[Devel] Re: containers and cgroups mini-summit @ Linux Plumbers

2012-07-16 Thread Dhaval Giani
Hi, On Wed, Jul 11, 2012 at 5:41 PM, Kir Kolyshkin wrote: > Gentlemen, > > We are organizing containers mini-summit during next Linux Plumbers (San > Diego, August 29-31). > The idea is to gather and discuss everything relevant to namespaces, > cgroups, resource management, > checkpoint-restore a

[Devel] Re: Understanding cgroups

2010-10-28 Thread Dhaval Giani
[Adding a few more people and the containers to the copy] On Thu, Oct 28, 2010 at 5:44 PM, Tommaso Cucinotta wrote: > Hi, > > I'm trying to get some understanding of the current cgroups in-kernel > implementation > (after having read Documentation/cgroup* and having browsed a bit the code). > To

[Devel] Re: 2.6.35-stable/ppc64/p7: suspicious rcu_dereference_check() usage detected during 2.6.35-stable boot

2010-08-13 Thread Dhaval Giani
On Fri, Aug 13, 2010 at 8:55 AM, Subrata Modak wrote: > Hi Paul, > > Is there any specific person(s) whom we whom we should direct this mail > to ? We have not received any response from CGROUP developers on this. > Kindly let me know whom to contact for this. I am adding few more people > i know

[Devel] Re: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on

2010-07-26 Thread Dhaval Giani
get some acks from the cgroups maintainers?  I'll > gladly take it through my tree. > while I am not a maintainer, from the libcgroup side at least, Acked-by: Dhaval Giani > thanks, > > greg k-h > _

[Devel] Re: [PATCH] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on

2010-07-26 Thread Dhaval Giani
On Mon, Jul 26, 2010 at 11:12 AM, Kay Sievers wrote: > On Mon, Jul 26, 2010 at 11:08, Dhaval Giani wrote: >> On Thu, Jul 22, 2010 at 8:36 PM, Greg KH wrote: >>> On Thu, Jul 22, 2010 at 11:31:07AM -0700, Paul Menage wrote: >>>> On Thu, Jul 22, 2010 at 11:26 AM, Gr

[Devel] Re: cgroups and limit firefox processes cpu time

2010-01-28 Thread Dhaval Giani
On Fri, Jan 22, 2010 at 12:36 PM, Balbir Singh wrote: > On Friday 22 January 2010 05:03 PM, william wrote: >> Balbir Singh wrote: >>> On Friday 22 January 2010 11:04 AM, william wrote: >>> Hello list I have a question about how i can limit the cpu for a firefox process on a ter

[Devel] Re: [Bugme-new] [Bug 14150] New: BUG: soft lockup - CPU#3 stuck for 61s!, while running cpu controller latency testcase on two containers parallaly

2009-11-13 Thread Dhaval Giani
On Tue, Sep 22, 2009 at 03:39:18PM +0530, Rishikesh wrote: > Hi Dhaval, > > Today i tried 2 more scenario requested by you on -tip kernel: > > 1> mount cpu on cgroup & other susbsystems ( ns, cpuset,freezer... > except cpu) on cgroup1 e.g:. > /root/lxc on /cgroup type cgroup > (rw,ns,cpuset,fre

[Devel] Re: [RFC] Mount point suggestions for cgroup

2009-11-04 Thread Dhaval Giani
On Wed, Nov 04, 2009 at 01:25:46PM -0800, Paul Menage wrote: > On Wed, Nov 4, 2009 at 9:35 AM, Matt Helsley wrote: > > > > If anything, "standardizing" the mount point(s) will likely provide a false > > sense of uniformity and we'll get some bad userspace scripts/tools that > > break when "nonstan

[Devel] Re: [RFC] Mount point suggestions for cgroup

2009-11-04 Thread Dhaval Giani
On Wed, Nov 04, 2009 at 09:35:30PM +0530, Balbir Singh wrote: > * Jan Safranek [2009-11-04 17:02:22]: > > > On 11/04/2009 04:21 PM, Dave Hansen wrote: > > >On Wed, 2009-11-04 at 13:46 +0530, Balbir Singh wrote: > > >>The reason I liked /dev/cgroup was because cpusets could be > > >>mounted at /de

[Devel] Re: [Bugme-new] [Bug 14150] New: BUG: soft lockup - CPU#3 stuck for 61s!, while running cpu controller latency testcase on two containers parallaly

2009-09-15 Thread Dhaval Giani
On Fri, Sep 11, 2009 at 02:28:13PM -0700, Andrew Morton wrote: > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Thu, 10 Sep 2009 09:32:30 GMT > bugzilla-dae...@bugzilla.kernel.org wrote: > > > http://bugzilla.kernel.org/show_bug.cgi?

[Devel] Re: BUG: soft lockup - CPU#3 stuck for 61s! , while running cpu controller latency testcase on two containers parallaly

2009-09-11 Thread Dhaval Giani
[Adding the scheduler maintainers to the cc] On Thu, Sep 10, 2009 at 03:03:22PM +0530, Rishikesh wrote: > Hi, > > I am hitting this soft lock issue while running this scenario on > 2.6.31-rc7 kernel on SystemX 32 bit on multiple machines. > > Opened bug : http://bugzilla.kernel.org/show_bug.cgi

[Devel] Re: Cgroups RT scheduling

2009-09-11 Thread Dhaval Giani
[Adding peterz to the cc] On Wed, Sep 09, 2009 at 04:49:52PM +0100, Rolando Martins wrote: > Hi, > > I would like to confirm the following: > cpuset.sched_load_balance doesn't work with RT, right? > You cannot have tasks for sub-domain 2 to utilize bandwidth of > sub-domain 3, right? > >

[Devel] Re: Understanding CPU containers

2009-09-11 Thread Dhaval Giani
On Wed, Sep 09, 2009 at 04:00:27PM +0530, Mukesh G wrote: > Hi, >I am trying to understand the behavior of CPU containers as I > am unable to explain few things. > - Built the latest kernel 2.6.30.5 and installed on my Intel core2Duo desktop > > - Mounted the cpu subsystem using > >

[Devel] Re: IO controller Mini-Summit 2009

2009-09-11 Thread Dhaval Giani
On Wed, Aug 26, 2009 at 08:32:51PM +0900, Ryo Tsuruta wrote: > Hi All, > > As I have notified before, The 1st Linux IO controller Mini-Summit > will be held in Tokyo Japan on Oct 17 -- day before the 9th Linux > kernel summit. So I would like to propose the following topics for > the mini-summit

[Devel] Re: [PATCH 1/4] Support named cgroups hierarchies

2009-07-29 Thread Dhaval Giani
On Tue, Jul 28, 2009 at 04:26:21PM -0700, Paul Menage wrote: > Support named cgroups hierarchies > > To simplify referring to cgroup hierarchies in mount statements, and > to allow disambiguation in the presence of empty hierarchies and > multiply-bindable subsystems this patch adds support for na

[Devel] Re: [RFC] CPU hard limits

2009-06-05 Thread Dhaval Giani
On Fri, Jun 05, 2009 at 04:02:11PM +0300, Avi Kivity wrote: > Paul Menage wrote: >> On Wed, Jun 3, 2009 at 10:36 PM, Bharata B >> Rao wrote: >> >>> - Hard limits can be used to provide guarantees. >>> >>> >> >> This claim (and the subsequent long thread it generated on how limits >> can pro

[Devel] Re: [RFC] CPU hard limits

2009-06-05 Thread Dhaval Giani
On Fri, Jun 05, 2009 at 02:51:18AM -0700, Paul Menage wrote: > On Fri, Jun 5, 2009 at 2:48 AM, Dhaval Giani wrote: > >> > Now if 11th group with same shares comes in, then each group will now > >> > get 9% of CPU and that 10% guarantee breaks. > >> > >

[Devel] Re: [RFC] CPU hard limits

2009-06-05 Thread Dhaval Giani
On Fri, Jun 05, 2009 at 02:32:51AM -0700, Paul Menage wrote: > On Fri, Jun 5, 2009 at 2:27 AM, Bharata B Rao > wrote: > >> > >> Suppose 10 cgroups each want 10% of the machine's CPU. We can just > >> give each cgroup an equal share, and they're guaranteed 10% if they > >> try to use it; if they do

[Devel] Re: [PATCH] cgroups: handle failure of cgroup_populate_dir() at mount/remount

2009-05-25 Thread Dhaval Giani
On Mon, May 25, 2009 at 05:14:58PM +0800, Li Zefan wrote: > Dhaval Giani wrote: > > On Fri, May 22, 2009 at 05:34:21PM +0900, KAMEZAWA Hiroyuki wrote: > >> On Fri, 22 May 2009 16:35:14 +0800 > >> Li Zefan wrote: > >> > >>> KAMEZAWA Hiroyuki

[Devel] Re: [PATCH] cgroups: handle failure of cgroup_populate_dir() at mount/remount

2009-05-22 Thread Dhaval Giani
On Fri, May 22, 2009 at 05:34:21PM +0900, KAMEZAWA Hiroyuki wrote: > On Fri, 22 May 2009 16:35:14 +0800 > Li Zefan wrote: > > > KAMEZAWA Hiroyuki wrote: > > > On Fri, 22 May 2009 11:00:12 +0800 > > > Li Zefan wrote: > > > > > >> Now we have 'stat' file in both memory and cpuacct subsystems. If

[Devel] Re: IO scheduler based IO Controller V2

2009-05-14 Thread Dhaval Giani
On Fri, May 08, 2009 at 05:56:18PM -0400, Vivek Goyal wrote: > So, we shall have to come up with something better, I think Dhaval was > implementing upper limit for cpu controller. May be PeterZ and Dhaval can > give us some pointers how did they manage to implement both proportional > and

[Devel] Re: [PATCH 01/10] Documentation

2009-04-16 Thread Dhaval Giani
On Thu, Apr 16, 2009 at 02:37:53PM -0400, Vivek Goyal wrote: > On Wed, Apr 08, 2009 at 10:37:59PM +0200, Andrea Righi wrote: > > [..] > > > > > > - I can think of atleast one usage of uppper limit controller where we > > > might have spare IO resources still we don't want to give it to a > > >

[Devel] Re: [PATCH 1/1] introduce user_ns inheritance in user-sched

2009-03-22 Thread Dhaval Giani
On Sat, Mar 21, 2009 at 12:36:49PM +0100, Peter Zijlstra wrote: > On Fri, 2009-03-20 at 21:46 -0500, Serge E. Hallyn wrote: > > Quoting Peter Zijlstra (pet...@infradead.org): > > > On Thu, 2009-03-19 at 16:16 -0500, Serge E. Hallyn wrote: > > > > In a kernel compiled with CONFIG_USER_SCHED=y, cpu s

[Devel] Re: [PATCH 01/10] Documentation

2009-03-12 Thread Dhaval Giani
On Wed, Mar 11, 2009 at 09:56:46PM -0400, Vivek Goyal wrote: > o Documentation for io-controller. > > Signed-off-by: Vivek Goyal > --- > Documentation/block/io-controller.txt | 221 > + > 1 files changed, 221 insertions(+), 0 deletions(-) > create mode 100644 D

[Devel] Re: [PATCH 1/2] cgroup allow subsys to set default mode of its own file

2009-02-26 Thread Dhaval Giani
On Fri, Feb 27, 2009 at 09:20:31AM +0900, KAMEZAWA Hiroyuki wrote: > On Thu, 26 Feb 2009 13:00:05 -0800 > Andrew Morton wrote: > > > On Wed, 25 Feb 2009 16:35:55 +0900 > > KAMEZAWA Hiroyuki wrote: > > > > > When I wrote tools for maintain cgroup, I can't find which file is > > > writable inta

[Devel] Re: [PATCH 2/2] cgroup/memcg show correct file mode

2009-02-25 Thread Dhaval Giani
rchy", > > @@ -2263,6 +2266,7 @@ static struct cftype memsw_cgroup_files[ > > .name = "memsw.usage_in_bytes", > > .private = MEMFILE_PRIVATE(_MEMSWAP, RES_USAGE), > > .read_u64 = mem_cgroup_read, > > + .mode

Re: [Devel] Re: Write Error: No space left on device

2008-10-28 Thread Dhaval Giani
On Tue, Oct 28, 2008 at 03:37:52PM +0530, Mukesh G wrote: > Hi Dhaval, > Thanks for clarifying some doubts. Further to your mail and my > understanding, I can make some conclusions > > 1) Even though there is a hierarchical order for containers, the shares are > not allocated in terms of that

Re: [Devel] Re: Write Error: No space left on device

2008-10-28 Thread Dhaval Giani
On Tue, Oct 28, 2008 at 12:58:16PM +0530, Mukesh G wrote: > Hi, > > I need your help in clarifying some doubts... > > I have setup a container for cpu. Within the container with a cpu.shares of > 1024 (default), which is made up of 2 cpu containers (C2048; cpu.shares > 2048) and (C1024: cpu.share

[Devel] Re: [Libcg-devel] Control groups and Resource Management notes (part I)

2008-08-06 Thread Dhaval Giani
On Fri, Aug 01, 2008 at 07:24:58PM +0530, Balbir Singh wrote: > 4. Binary statistics - The question about binary statistics was raised. Since > control groups don't enforce any particular kind of API, is there a way to > generically handle control files and their parameters in the library? Paul >

[Devel] Re: Attaching PID 0 to a cgroup

2008-07-01 Thread Dhaval Giani
On Tue, Jul 01, 2008 at 11:48:31PM +0200, Andrea Righi wrote: > Li Zefan wrote: >> CC: Paul Jackson <[EMAIL PROTECTED]> >> >> Dhaval Giani wrote: >>> [put in the wrong alias for containers list correcting it.] >>> >>> On Tue, Jul 01, 2008

[Devel] Re: Attaching PID 0 to a cgroup

2008-07-01 Thread Dhaval Giani
On Tue, Jul 01, 2008 at 06:28:07PM +0800, Li Zefan wrote: > CC: Paul Jackson <[EMAIL PROTECTED]> > > Dhaval Giani wrote: > > [put in the wrong alias for containers list correcting it.] > > > > On Tue, Jul 01, 2008 at 03:15:45PM +0530, Dhaval Giani wrote: > &

[Devel] Re: Attaching PID 0 to a cgroup

2008-07-01 Thread Dhaval Giani
[put in the wrong alias for containers list correcting it.] On Tue, Jul 01, 2008 at 03:15:45PM +0530, Dhaval Giani wrote: > Hi Paul, > > Attaching PID 0 to a cgroup caused the current task to be attached to > the cgroup. Looking at the code, > &g

[Devel] Re: A question about group CFS scheduling

2008-06-26 Thread Dhaval Giani
On Thu, Jun 26, 2008 at 04:33:11PM +0800, Zhao Forrest wrote: > > Thank you for your detailed explanation! I have one more question: > cgrouping and USER grouping is mutual exclusive, am I right? That is, > when enabling cgrouping, USER grouping need to be disabled, vice > versa. > Yes, you are

[Devel] Re: mini-summit agenda

2008-06-15 Thread Dhaval Giani
On Sun, Jun 15, 2008 at 09:53:05PM +0900, Midori Sugaya wrote: > Hello all, > > My name is Midori Sugara. I work for implementing cpu resource > management system on Linux kernenl. I had already implemented cpu > and memory resource management system named CABI. > Now we are trying to re-impleme

[Devel] Re: [RFC][PATCH] introduce task cgroup (#task restrictioon for prevent fork bomb by cgroup)

2008-06-05 Thread Dhaval Giani
> +static int task_cgroup_max_tasks_write(struct cgroup *cgrp, > +struct cftype *cftype, > +s64 max_tasks) > +{ > + struct task_cgroup *taskcg; > + > + if ((max_tasks > INT_MAX) || > + (max_tasks < INT_MIN)) It

[Devel] Re: [RFC][-mm] [1/2] Simple stats for cpu resource controller

2008-04-05 Thread Dhaval Giani
On Sun, Apr 06, 2008 at 02:01:52AM +0530, Balaji Rao wrote: > On Sunday 06 April 2008 01:10:41 am Dhaval Giani wrote: > > > +}; > > > + > > > +struct cpu_cgroup_stat_cpu { > > > + s64 count[CPU_CGROUP_STAT_NSTATS]; > > > > u64? time does not g

[Devel] Re: [RFC][-mm] [1/2] Simple stats for cpu resource controller

2008-04-05 Thread Dhaval Giani
off-by: Balaji Rao <[EMAIL PROTECTED]> > CC: Balbir Singh <[EMAIL PROTECTED]> > CC: Dhaval Giani <[EMAIL PROTECTED]> > > diff --git a/kernel/sched.c b/kernel/sched.c > index 8206fda..e2acf06 100644 > --- a/kernel/sched.c > +++ b/kernel/sched.c > @@ -164,10

[Devel] Re: [RFC][-mm] [1/2] Simple stats for cpu resource controller

2008-04-05 Thread Dhaval Giani
k question? Why? Everywhere in the CFS we use precise accounting, (even within the CPU controller). Doesn't make sense using ticks here then. Will review and respond soon. Thanks, Dhaval > Signed-off-by: Balaji Rao <[EMAIL PROTECTED]> > CC: Balbir Singh <[EMAIL PROTECTED]> > CC: D

[Devel] Re: ols mini-summit is on

2008-03-26 Thread Dhaval Giani
On Tue, Mar 25, 2008 at 12:35:23PM -0500, Serge E. Hallyn wrote: > I announced this last week at the bottom of a long email, but > figure it deserves a separate announce :) > > Unofficial word from the OLS folks is that the containers > mini-summit is on. So far we don't yet know whether it will

[Devel] Re: [RFC] libcg: design and plans

2008-03-05 Thread Dhaval Giani
On Wed, Mar 05, 2008 at 01:56:23PM +0200, Xpl++ wrote: > Hi Dhaval, > > Dhaval Giani ??: >>> I was wonder if creating such library makes any sense at all, considering >>> the nature of cgroups, the way they work and their possible application? >>> It seem

[Devel] Re: [RFC] libcg: design and plans

2008-03-05 Thread Dhaval Giani
On Wed, Mar 05, 2008 at 02:41:41AM -0800, Paul Menage wrote: > On Wed, Mar 5, 2008 at 2:33 AM, Dhaval Giani <[EMAIL PROTECTED]> wrote: > > > > So there are two different points, /mem and /cpu. /mem has A and C and > > /cpu has A, B and C. A and B of /cpu correspo

[Devel] Re: [RFC] libcg: design and plans

2008-03-05 Thread Dhaval Giani
On Tue, Mar 04, 2008 at 10:15:20PM -0800, Paul Menage wrote: > Hi Dhaval, > > On Tue, Mar 4, 2008 at 7:23 AM, Dhaval Giani <[EMAIL PROTECTED]> wrote: > > Hi, > > > > We have been working on a library for control groups which would provide > > simp

[Devel] Re: [RFC][PATCH 0/1]a new optional function for task assignment to cgroup

2008-03-04 Thread Dhaval Giani
rked children). This also gives you more > flexibility than you can have in the kernel - you can base your > decision on more complex factors than simply the uid of the process. > > Dhaval Giani had a prototype implementation of such a daemon. > The daemon was posted at http://artic

[Devel] Re: [RFC] libcg: design and plans

2008-03-04 Thread Dhaval Giani
Hi Peter, Thanks for your comments. On Tue, Mar 04, 2008 at 07:15:51PM +0200, Xpl++ wrote: > Hi, > > I was wonder if creating such library makes any sense at all, considering > the nature of cgroups, the way they work and their possible application? > It seems to me that any attempt to create a

[Devel] [RFC] libcg: design and plans

2008-03-04 Thread Dhaval Giani
Hi, We have been working on a library for control groups which would provide simple APIs for programmers to utilize from userspace and make use of control groups. We are still designing the library and the APIs. I've attached the design (as of now) to get some feedback from the community whether

[Devel] Re: [RFC] Default child of a cgroup

2008-01-31 Thread Dhaval Giani
On Thu, Jan 31, 2008 at 09:37:42PM +0100, Peter Zijlstra wrote: > > On Thu, 2008-01-31 at 23:39 +0530, Balbir Singh wrote: > > Srivatsa Vaddagiri wrote: > > > Hi, > > > As we were implementing multiple-hierarchy support for CPU > > > controller, we hit some oddities in its implementation, partly

[Devel] Re: [RFC] Default child of a cgroup

2008-01-31 Thread Dhaval Giani
On Thu, Jan 31, 2008 at 11:39:12PM +0530, Balbir Singh wrote: > Srivatsa Vaddagiri wrote: > > Hi, > > As we were implementing multiple-hierarchy support for CPU > > controller, we hit some oddities in its implementation, partly related > > to current cgroups implementation. Peter and I have bee

[Devel] Re: [RFC] Default child of a cgroup

2008-01-31 Thread Dhaval Giani
On Thu, Jan 31, 2008 at 06:39:56PM -0800, Paul Menage wrote: > On Jan 30, 2008 6:40 PM, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > > > > Here are some questions that arise in this picture: > > > > 1. What is the relationship of the task-group in A/tasks with the > >task-group in A/a1/tasks

Re: [Devel] OLS paper topics

2008-01-30 Thread Dhaval Giani
On Wed, Jan 30, 2008 at 09:40:43AM -0600, Serge E. Hallyn wrote: > Quoting Dhaval Giani ([EMAIL PROTECTED]): > > Ok I figured resource mgmt and cgroups would be combined, but I'm fine > splitting them. So can I do: > > cgroups: Paul Menage, Balbir > Resource Manage

Re: [Devel] OLS paper topics

2008-01-30 Thread Dhaval Giani
On Wed, Jan 30, 2008 at 02:28:13PM +0530, Balbir Singh wrote: > Kir Kolyshkin wrote: > > Serge E. Hallyn wrote: > >> Quoting Kir Kolyshkin ([EMAIL PROTECTED]): > >> > >>> Serge E. Hallyn wrote: > >>> > mini-summit: > I will submit for a 1-day mini-summit. Some interesting > >>>

[Devel] Re: Re: Hang with fair cgroup scheduler (reproducer is attached.)

2007-12-15 Thread Dhaval Giani
On Sun, Dec 16, 2007 at 01:00:07AM +0100, Dmitry Adamushko wrote: > Dhaval, > > so following the analysis in the previous mail... here is a test > patch. Could you please give it a try? > Yep, it works! Tested-by: Dhaval Giani <[EMAIL PROTECTED]> thanks

[Devel] Re: Re: Hang with fair cgroup scheduler (reproducer is attached.)

2007-12-15 Thread Dhaval Giani
On Sat, Dec 15, 2007 at 11:22:08AM +0100, Dmitry Adamushko wrote: > On 14/12/2007, Steven Rostedt <[EMAIL PROTECTED]> wrote: > > > > On Fri, 14 Dec 2007, Dmitry Adamushko wrote: > > > > > > > > argh... it's a consequence of the 'current is not kept within the tree" > > > indeed. > > > > > > > Than

[Devel] Re: Re: Hang with fair cgroup scheduler (reproducer is attached.)

2007-12-14 Thread Dhaval Giani
On Fri, Dec 14, 2007 at 09:06:07PM +0530, Dhaval Giani wrote: > On Fri, Dec 14, 2007 at 11:24:28PM +0900, [EMAIL PROTECTED] wrote: > > >> just to be sure SMP does matter here (most likely yes, I guess). > > >> > > > > > >NUMA? I am not able to

[Devel] Re: Re: Hang with fair cgroup scheduler (reproducer is attached.)

2007-12-14 Thread Dhaval Giani
On Fri, Dec 14, 2007 at 11:24:28PM +0900, [EMAIL PROTECTED] wrote: > >> just to be sure SMP does matter here (most likely yes, I guess). > >> > > > >NUMA? I am not able to reproduce it here locally on an x86 8 CPU box. > > > yes. I used NUMA. 2 Nodes/4CPU x 2 > OK, I got hold of an IA64 box, non

[Devel] Re: Hang with fair cgroup scheduler (reproducer is attached.)

2007-12-14 Thread Dhaval Giani
On Fri, Dec 14, 2007 at 01:47:13PM +0100, Dmitry Adamushko wrote: > On 14/12/2007, KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > > Here is much easier test. > > (I'm sorry I'll be absent tomorrow.) > > > > the number of cpus is 8. ia64/NUMA. > > > > The hang occurs when the number of tasks is not

[Devel] Re: Hang with fair cgroup scheduler (reproducer is attached.)

2007-12-14 Thread Dhaval Giani
On Fri, Dec 14, 2007 at 07:58:37PM +0900, KAMEZAWA Hiroyuki wrote: > Here is much easier test. Thanks for the test! Let me see if I can reproduce it here. -- regards, Dhaval ___ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.o

[Devel] Re: [PATCH 2/2] Merge multiple error paths in alloc_uid into one

2007-11-23 Thread Dhaval Giani
evious > one, but I remember that some time ago I sent a similar patch > (fixing the error path and cleaning it), but I was told to make > two patches in such cases. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Looks good. Acked-by: Dhaval Giani <[EMAIL PROTECTE

[Devel] Re: [PATCH 1/2] Don't forget to unlock uids_mutex on error paths

2007-11-23 Thread Dhaval Giani
On Wed, Nov 21, 2007 at 01:49:33PM +0300, Pavel Emelyanov wrote: > The commit > > commit 5cb350baf580017da38199625b7365b1763d7180 > Author: Dhaval Giani <[EMAIL PROTECTED]> > Date: Mon Oct 15 17:00:14 2007 +0200 > > sched: group scheduling, sysfs tunables > &

[Devel] Re: CPU controller for Completely Fair Scheduler?

2007-10-06 Thread Dhaval Giani
On Sun, Oct 07, 2007 at 02:31:42PM +1300, Sam Vilain wrote: > I see that 2.6.23 has the CFS in it - has anyone written a CPU > controller for that scheduler yet? Hi Sam, Yes, it has been written. It is slated to go in 2.6.24 as part of the CFS-devel tree. http://lkml.org/lkml/2007/9/24/412 The l

[Devel] Re: [PATCH -mm] Hook up group scheduler with control groups

2007-09-27 Thread Dhaval Giani
On Thu, Sep 27, 2007 at 12:00:33PM -0700, Randy Dunlap wrote: > On Thu, 27 Sep 2007 23:34:15 +0530 Dhaval Giani wrote: > > > > > > +config RESOURCE_COUNTERS > > + bool "Resource counters" > > + help > > + This option enables controller i

[Devel] Re: [PATCH -mm] Hook up group scheduler with control groups

2007-09-27 Thread Dhaval Giani
y containers) based fair group scheduling. > > This will let administrator create arbitrary groups of tasks (using > > "cgroup" pseudo filesystem) and control their cpu bandwidth usage. > > > > Signed-off-by : Srivatsa Vaddagiri <[EMAIL PROTECTED]> > >

[Devel] Re: [PATCH] Containers: Avoid lockdep warning

2007-08-22 Thread Dhaval Giani
On Wed, Aug 22, 2007 at 04:17:10PM -0700, Paul Menage wrote: > > I think this is the right way to handle the lockdep false-positive in > the current containers patches, but I'm not that familiar with lockdep > so any suggestions for a better approach are welcomed. > > > In order to avoid a false

[Devel] Re: [-mm PATCH 0/9] Memory controller introduction (v6)

2007-08-17 Thread Dhaval Giani
On Fri, Aug 17, 2007 at 02:12:28PM +0530, Balbir Singh wrote: Hi Andrew, > The code was also tested on a power box with regular machine usage scenarios, > the config disabled and with a stress suite that touched all the memory > in the system and was limited in a container. > > Dhaval ran severa

[Devel] Re: [-mm PATCH 6/9] Memory controller add per container LRU and reclaim (v4)

2007-07-30 Thread Dhaval Giani
n_lock to protect the per container LRU > + */ > + spinlock_t lru_lock; > }; The spinlock is not annotated by lockdep. The following patch should do it. Signed-off-by: Dhaval Giani <[EMAIL PROTECTED]> Signed-off-by: Gautham Shenoy R <[EM

[Devel] Re: [PATCH 01/10] Containers(V10): Basic container framework

2007-06-13 Thread Dhaval Giani
This example does not work. To do so we need to do /bin/echo 2-3 > cpus /bin/echo 1 > mems > + /bin/echo $$ > tasks > + sh > + # The subshell 'sh' is now running in container Charlie > + # The next line should display '/Charlie' > + cat /pro