[Devel] [PATCH 4/5] bio-cgroup: Page tracking hooks

2009-04-16 Thread Ryo Tsuruta
This patch contains several hooks that let the bio-cgroup framework to know which bio-group is the owner of a page before starting I/O against the page. Based on 2.6.30-rc1 Signed-off-by: Hirokazu Takahashi t...@valinux.co.jp Signed-off-by: Ryo Tsuruta r...@valinux.co.jp --- fs/buffer.c

[Devel] [PATCH 5/5] bio-cgroup: Add a cgroup support to dm-ioband

2009-04-16 Thread Ryo Tsuruta
With this patch, dm-ioband can work with the bio cgroup. Based on 2.6.30-rc1 Signed-off-by: Hirokazu Takahashi t...@valinux.co.jp Signed-off-by: Ryo Tsuruta r...@valinux.co.jp --- drivers/md/dm-ioband-type.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) Index:

[Devel] [PATCH] c/r: Save and restore task-personality (v2)

2009-04-16 Thread Dan Smith
This patch adds a spot in the task record to save the personality value of the task_struct. It also masks out READ_IMPLIES_EXEC before starting to avoid read-only maps being restored as read-exec. To avoid re-setting this flag too early, it also introduces a task_ctx object to hold information

[Devel] Re: [PATCH 17/30] cr: extend arch_setup_additional_pages()

2009-04-16 Thread Serge E. Hallyn
Quoting Alexey Dobriyan (adobri...@gmail.com): Add start argument, it will be used to map vDSO to exactly same place on restart(2). Signed-off-by: Alexey Dobriyan adobri...@gmail.com IIRC the first (bprm) argument is actually completely unused. So in my version of this patch (in mid-march)

[Devel] Re: [PATCH 18/30] cr: restore vDSO on i386/x86_64

2009-04-16 Thread Serge E. Hallyn
Quoting Alexey Dobriyan (adobri...@gmail.com): FIXME: check VMA has same parameters. FIXME: abort if target kernel has vDSO disabled (?) FIXME: restore pages, vDSO is writable after all. Signed-off-by: Alexey Dobriyan adobri...@gmail.com --- arch/x86/vdso/vdso32-setup.c |6 ++

[Devel] Re: CAP_SYS_ADMIN on restart(2)

2009-04-16 Thread Alexey Dobriyan
On Wed, Apr 15, 2009 at 04:16:09PM -0500, Serge E. Hallyn wrote: Quoting Oren Laadan (or...@cs.columbia.edu): Serge E. Hallyn wrote: Quoting Dave Hansen (d...@linux.vnet.ibm.com): On Wed, 2009-04-15 at 23:21 +0400, Alexey Dobriyan wrote: Is sysctl to control CAP_SYS_ADMIN on

[Devel] [PATCH] c/r: Take uts_sem during checkpoint and restart

2009-04-16 Thread Dan Smith
Fix the potential for breakage if our UTS changes during checkpoint or restart by grabbing uts_sem during these operations. Cc: or...@cs.columbia.edu Signed-off-by: Dan Smith da...@us.ibm.com --- checkpoint/ckpt_task.c | 12 checkpoint/rstr_task.c | 17 +++-- 2 files

[Devel] Re: C/R without leaks

2009-04-16 Thread Chris Friesen
Alexey Dobriyan wrote: On Thu, Apr 16, 2009 at 12:42:17AM +0200, Greg Kurz wrote: On Wed, 2009-04-15 at 23:56 +0400, Alexey Dobriyan wrote: There are sockets and live netns as the most complex example. I'm not prepared to describe it exactly, but people wishing to do C/R with leaks should

[Devel] Re: C/R without leaks

2009-04-16 Thread Oren Laadan
Chris Friesen wrote: Alexey Dobriyan wrote: On Thu, Apr 16, 2009 at 12:42:17AM +0200, Greg Kurz wrote: On Wed, 2009-04-15 at 23:56 +0400, Alexey Dobriyan wrote: There are sockets and live netns as the most complex example. I'm not prepared to describe it exactly, but people wishing to do

[Devel] Re: [PATCH] IO-Controller: Fix kernel panic after moving a task

2009-04-16 Thread Vivek Goyal
On Thu, Apr 16, 2009 at 01:25:35PM +0800, Gui Jianfeng wrote: Vivek Goyal wrote: +#ifdef CONFIG_IOSCHED_CFQ_HIER +static void changed_cgroup(struct io_context *ioc, struct cfq_io_context *cic) +{ + struct cfq_queue *async_cfqq = cic_to_cfqq(cic, 0); + struct cfq_queue *sync_cfqq

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread KAMEZAWA Hiroyuki
On Thu, 16 Apr 2009 15:29:37 -0700 Andrew Morton a...@linux-foundation.org wrote: On Tue, 14 Apr 2009 22:21:14 +0200 Andrea Righi righi.and...@gmail.com wrote: Subject: [PATCH 3/9] bio-cgroup controller Sorry, but I have to register extreme distress at the name of this. The term bio is

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread Andrew Morton
On Fri, 17 Apr 2009 09:20:40 +0900 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Thu, 16 Apr 2009 15:29:37 -0700 Andrew Morton a...@linux-foundation.org wrote: On Tue, 14 Apr 2009 22:21:14 +0200 Andrea Righi righi.and...@gmail.com wrote: Subject: [PATCH 3/9] bio-cgroup

[Devel] Re: [PATCH 1/9] io-throttle documentation

2009-04-16 Thread KAMEZAWA Hiroyuki
On Tue, 14 Apr 2009 22:21:12 +0200 Andrea Righi righi.and...@gmail.com wrote: +Example: +* Create an association between an io-throttle group and a bio-cgroup group + with bio and blockio subsystems mounted in different mount points: + # mount -t cgroup -o bio bio-cgroup /mnt/bio-cgroup/ +

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread Ryo Tsuruta
From: Andrew Morton a...@linux-foundation.org Subject: Re: [PATCH 3/9] bio-cgroup controller Date: Thu, 16 Apr 2009 17:44:28 -0700 On Fri, 17 Apr 2009 09:20:40 +0900 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: On Thu, 16 Apr 2009 15:29:37 -0700 Andrew Morton

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread Takuya Yoshikawa
Hi, I have a few question. - I have not yet fully understood how your controller are using bio_cgroup. If my view is wrong please tell me. o In my view, bio_cgroup's implementation strongly depends on page_cgoup's. Could you explain for what purpose does this functionality itself

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread Balbir Singh
* Andrew Morton a...@linux-foundation.org [2009-04-16 17:44:28]: Hmm, how about iotrack-cgroup ? Well. blockio_cgroup has the same character count and is more specific. Sounds good to me. -- Balbir ___ Containers mailing list

[Devel] Re: [PATCH 1/9] io-throttle documentation

2009-04-16 Thread Li Zefan
KAMEZAWA Hiroyuki wrote: On Tue, 14 Apr 2009 22:21:12 +0200 Andrea Righi righi.and...@gmail.com wrote: +Example: +* Create an association between an io-throttle group and a bio-cgroup group + with bio and blockio subsystems mounted in different mount points: + # mount -t cgroup -o bio

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread KAMEZAWA Hiroyuki
On Fri, 17 Apr 2009 10:49:43 +0900 Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp wrote: Hi, I have a few question. - I have not yet fully understood how your controller are using bio_cgroup. If my view is wrong please tell me. o In my view, bio_cgroup's implementation strongly

[Devel] Re: [PATCH 3/9] bio-cgroup controller

2009-04-16 Thread Andrew Morton
On Fri, 17 Apr 2009 10:44:32 +0900 (JST) Ryo Tsuruta r...@valinux.co.jp wrote: Hmm, how about iotrack-cgroup ? Well. blockio_cgroup has the same character count and is more specific. How about blkio_cgroup ? Sounds good. ___ Containers

[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 cgroup