[Devel] Re: [RFC][PATCH 0/9] cgroups: block: cfq: I/O bandwidth controlling subsystem for CGroups based on CFQ

2008-04-01 Thread Paul Jackson
A couple of details: 1) Your clock is way off. These patches have a date stamp of Feb 15, but were actually sent out March 21 (and I'm behind in my reading of lkml - sorry ;). 2) Please put a different Subject on each path ... not just the N/M patch number, but use different words to

[Devel] [PATCH -mm 3/3] cgroup: remove the css_set linked-list

2008-04-01 Thread Li Zefan
Now we can run through the hash table instead of running through the linked-list. Signed-off-by: Li Zefan <[EMAIL PROTECTED]> --- include/linux/cgroup.h |6 -- kernel/cgroup.c| 40 2 files changed, 20 insertions(+), 26 deletions(-) diff

[Devel] [PATCH -mm 0/3] cgroup: use hash table for css_set

2008-04-01 Thread Li Zefan
When we attach a process to a different cgroup, the css_set linked-list will be run through to find a suitable existing css_set to use. This patch set uses a hash table for better performance. As we add the hash table, we can totally remove the css_set linked-list. When we have to run through the

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

2008-04-01 Thread Li Zefan
When we attach a process to a different cgroup, the css_set linked-list will be run through to find a suitable existing css_set to use. This patch implements a hash table for better performance. The following benmarks has been tested: For N in 1, 5, 10, 50, 100, 500, 1000, create N cgroups with o

[Devel] [PATCH -mm 2/3] cgroup: simplify init_subsys()

2008-04-01 Thread Li Zefan
We are at system boot and there is only 1 cgroup group (i,e, init_css_set), so we don't need to run through the css_set linked list. Neither do we need to run through the task list, since the init process hasn't been created yet. Also referring to a comment in cgroup.h: struct css_set { .

[Devel] Re: [PATCH][ICMP]: Dst entry leak in icmp_send host re-lookup code (v2).

2008-04-01 Thread Herbert Xu
On Wed, Mar 26, 2008 at 12:25:40PM +0300, Pavel Emelyanov wrote: > Commit 8b7817f3a959ed99d7443afc12f78a7e1fcc2063 ([IPSEC]: Add ICMP host > relookup support) introduced some dst leaks on error paths: the rt > pointer can be forgotten to be put. Fix it bu going to a proper label. I just remembered

[Devel] Question: remap_pfn_range changes in 2.6.2x

2008-04-01 Thread Alexandre Rusev
The current kernel code for remap_pfn_range now includes the check of vm_area size vs. mapped physical page area. In earlier versions when vm_area size was more than pfn-s to map to, the rest of vm_area was attached to on-demand page allocation/COW so the userspace which mapped more just obtained