[Devel] Re: [PATCH -mm 1/3] cgroup: use a hash table for css_set finding

2008-04-03 Thread KAMEZAWA Hiroyuki
On Thu, 03 Apr 2008 13:52:43 +0800 Li Zefan [EMAIL PROTECTED] wrote: +/* hash table for cgroup groups. This improves the performance to + * find an existing css_set */ +#define CSS_SET_HASH_BITS7 +#define CSS_SET_TABLE_SIZE (1 CSS_SET_HASH_BITS) +static struct hlist_head

[Devel] [PATCH 3/7][v2]: Enable multiple mounts of /dev/pts

2008-04-03 Thread sukadev
From: Sukadev Bhattiprolu [EMAIL PROTECTED] Subject: [PATCH 3/7][v2]: Enable multiple mounts of /dev/pts To support multiple PTY namespaces, we should be allow multiple mounts of /dev/pts, once within each PTY namespace. This patch removes the get_sb_single() in devpts_get_sb() and uses test

[Devel] Re: [RFC][patch 3/11][CFQ-cgroup] Introduce cgroup subsystem

2008-04-03 Thread Paul Menage
On Tue, Apr 1, 2008 at 2:32 AM, Satoshi UCHIDA [EMAIL PROTECTED] wrote: This patch introduces a simple cgroup subsystem. New cgroup subsystem is called cfq_cgroup. Signed-off-by: Satoshi UCHIDA [EMAIL PROTECTED] diff --git a/block/Makefile b/block/Makefile index 5a43c7d..ea07b46

[Devel] [PATCH 6/7][v2]: Determine pts_ns from a pty's inode

2008-04-03 Thread sukadev
From: Sukadev Bhattiprolu [EMAIL PROTECTED] Subject: [PATCH 6/7][v2]: Determine pts_ns from a pty's inode. The devpts interfaces currently operate on a specific pts namespace which they get from the 'current' task. With implementation of containers and cloning of PTS namespaces, we want to be

[Devel] [RFC][patch 3/12][CFQ-cgroup] Introduce cgroup subsystem

2008-04-03 Thread Satoshi UCHIDA
This patch introduces a simple cgroup subsystem. New cgroup subsystem is called cfq_cgroup. Signed-off-by: Satoshi UCHIDA [EMAIL PROTECTED] --- block/Makefile|1 + block/cfq-cgroup.c| 57 +

[Devel] [PATCH 5/7][v2]: Implement get_pts_ns() and put_pts_ns()

2008-04-03 Thread sukadev
From: Sukadev Bhattiprolu [EMAIL PROTECTED] Subject: [PATCH 5/7][v2]: Implement get_pts_ns() and put_pts_ns() Implement get_pts_ns() and put_pts_ns() interfaces. Signed-off-by: Sukadev Bhattiprolu [EMAIL PROTECTED] --- include/linux/devpts_fs.h | 21 - 1 file changed, 20

[Devel] [PATCH] [RFC][patch 10/12][CFQ-cgroup] Search cfq_data when not connected

2008-04-03 Thread Satoshi UCHIDA
This patch is possible to select a cfq_data corresponding group with task. This is used when merge, merge check, queue check and queue setting. The new cfq optional operations: The cfq_search_data_fn defines a function that selects a correct cfq_data when cfq_queue and requests are not connected

[Devel] [RFC][patch 6/12][CFQ-cgroup] Add cfq optional operation framework

2008-04-03 Thread Satoshi UCHIDA
This patch creates a cfq optional operations framework. This framework defines specific functions for expanding CFQ. Signed-off-by: Satoshi UCHIDA [EMAIL PROTECTED] --- block/cfq-cgroup.c |4 block/cfq-iosched.c |5 + include/linux/cfq-iosched.h |6

[Devel] Re: [PATCH 0/13 net-2.6.26] UDP/ICMP/TCP for a namespace v2

2008-04-03 Thread David Miller
From: Denis V. Lunev [EMAIL PROTECTED] Date: Mon, 31 Mar 2008 17:16:07 +0400 This patch set finally enables TCP/UDP and ICMP inside a namespace. In order to do this we fix ARP processing, IP options processing and allow packets to flow to namespace aware protocols. Finally, this makes

Re: [Devel] [RFC PATCH 0/4] Container Freezer: Reuse Suspend Freezer

2008-04-03 Thread Paul Menage
On Thu, Apr 3, 2008 at 2:03 PM, [EMAIL PROTECTED] wrote: * freezer.kill writing n will send signal number n to all tasks My first thought (not having looked at the code yet) is that sending a signal doesn't really have anything to do with freezing, so it shouldn't be in the same