Re: [Devel] Re: [PATCH 0/9] OpenVZ kernel based checkpointing/restart

2008-10-29 Thread Andrey Mirkin
On Monday 27 October 2008 17:39 Oren Laadan wrote: > Andrey Mirkin wrote: > > On Monday 20 October 2008 19:55 Dave Hansen wrote: > >> On Mon, 2008-10-20 at 16:14 +0400, Andrey Mirkin wrote: > >>> Right now my patchset (v2) provides an ability to checkpoint and > >>> restart a group of processes. Th

Re: [Devel] Re: [PATCH 10/10] Add support for multiple processes

2008-10-29 Thread Andrey Mirkin
On Monday 27 October 2008 18:58 Oren Laadan wrote: > Andrey Mirkin wrote: > > The whole tree of processes can be checkpointed and restarted now. > > Shared objects are not supported yet. > > > > Signed-off-by: Andrey Mirkin <[EMAIL PROTECTED]> > > --- > > checkpoint/cpt_image.h |2 + > > che

[Devel] dynamically allocated dst_ops

2008-10-29 Thread Alexey Dobriyan
They are bogus and should be implanted into struct net directly. In garbage collector hook, just use container_of() (once) to get struct net. ->dst_net is useless after that. I'm going to use this trick for xfrm. And if someone has ideas on how to overcome header difficulties, please, submit a pa

[Devel] Re: About bio-cgroup

2008-10-29 Thread Hirokazu Takahashi
Hi, > On Wed, 29 Oct 2008 14:32:29 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > > > KAMEZAWA Hiroyuki wrote: > > > On Wed, 29 Oct 2008 17:07:18 +0900 (JST) > > > Hirokazu Takahashi <[EMAIL PROTECTED]> wrote: > > > > > >> Hi, > > >> > > >>> Hi Ryo, > > >>> > > >>> The page_cgroup seems to be

Re: [Devel] Re: [PATCH 03/10] Introduce context structure needed during checkpointing/restart

2008-10-29 Thread Andrey Mirkin
On Monday 20 October 2008 21:02 Dave Hansen wrote: > On Sat, 2008-10-18 at 03:11 +0400, Andrey Mirkin wrote: > > +typedef struct cpt_context > > +{ > > + pid_t pid;/* should be changed to ctid later */ > > + int ctx_id; /* context id */ > > + struct l

Re: [Devel] Re: [PATCH 08/10] Introduce functions to restart a process

2008-10-29 Thread Andrey Mirkin
On Sunday 26 October 2008 01:10 Oren Laadan wrote: > Andrey Mirkin wrote: > > On Thursday 23 October 2008 17:57 Dave Hansen wrote: > >> On Thu, 2008-10-23 at 13:00 +0400, Andrey Mirkin wrote: > >>> It is not related to the freezer code actually. > >>> That is needed to restart syscalls. Rig

[Devel] [PATCH 6/7] netns ebtables: ebtable_nat in netns

2008-10-29 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- include/net/netns/x_tables.h |1 net/bridge/netfilter/ebtable_nat.c | 47 + 2 files changed, 33 insertions(+), 15 deletions(-) --- a/include/net/netns/x_tables.h +++ b/include/net/netns/x_tabl

[Devel] [PATCH 7/7] netns ebtables: br_nf_pre_routing_finish() fixup

2008-10-29 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- net/bridge/br_netfilter.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -357,7 +357,7 @@ static int br_nf_pre_routing_finish(struct sk_buff *skb)

[Devel] [PATCH 4/7] netns ebtables: ebtable_broute in netns

2008-10-29 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- include/net/netns/x_tables.h |3 ++ net/bridge/netfilter/ebtable_broute.c | 35 ++ 2 files changed, 30 insertions(+), 8 deletions(-) --- a/include/net/netns/x_tables.h +++ b/include/net/netns/x_

[Devel] [PATCH 1/7] netns ebtables: part 1

2008-10-29 Thread Alexey Dobriyan
* propagate netns from userspace, register table in passed netns * remporarily register every ebt_table in init_net P. S.: one needs to add ".netns_ok = 1" to igmp_protocol to test with ebtables(8) in netns. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- include/linux/netfilter_bridge/e

[Devel] [PATCH 3/7] netns ebtables: more cleanup during ebt_unregister_table()

2008-10-29 Thread Alexey Dobriyan
Now that ebt_unregister_table() can be called during netns stop, and module pinning scheme can't prevent netns stop, do table cleanup by hand. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- net/bridge/netfilter/ebtables.c |4 1 file changed, 4 insertions(+) --- a/net/bridge/net

[Devel] [PATCH 5/7] netns ebtables: ebtable_filter in netns

2008-10-29 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- include/net/netns/x_tables.h |1 net/bridge/netfilter/ebtable_filter.c | 50 +- 2 files changed, 38 insertions(+), 13 deletions(-) --- a/include/net/netns/x_tables.h +++ b/include/net/netns/x_t

[Devel] [PATCH 2/7] netns ebtables: part 2

2008-10-29 Thread Alexey Dobriyan
* return ebt_table from ebt_register_table(), module code will save it into per-netns data for unregistration * duplicate ebt_table at the very beginning of registration -- it's added into list, so one ebt_table wouldn't end up in many lists (and each netns has different one) * introduce unde

[Devel] Re: About bio-cgroup

2008-10-29 Thread KAMEZAWA Hiroyuki
On Wed, 29 Oct 2008 14:32:29 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > KAMEZAWA Hiroyuki wrote: > > On Wed, 29 Oct 2008 17:07:18 +0900 (JST) > > Hirokazu Takahashi <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >>> Hi Ryo, > >>> > >>> The page_cgroup seems to be stable in the latest kernel.

[Devel] Re: About bio-cgroup

2008-10-29 Thread Balbir Singh
KAMEZAWA Hiroyuki wrote: > On Wed, 29 Oct 2008 17:07:18 +0900 (JST) > Hirokazu Takahashi <[EMAIL PROTECTED]> wrote: > >> Hi, >> >>> Hi Ryo, >>> >>> The page_cgroup seems to be stable in the latest kernel. >>> I'd like to know whether you have a plan or schedule to release >>> a new version of bio-

[Devel] Re: [PATCH 1/7] netns ebtables: part 1

2008-10-29 Thread Patrick McHardy
Alexey Dobriyan wrote: > * propagate netns from userspace, register table in passed netns > * remporarily register every ebt_table in init_net > > P. S.: one needs to add ".netns_ok = 1" to igmp_protocol to test with > ebtables(8) in netns. The containers list address bounces and the netfilter ad

[Devel] Re: About bio-cgroup

2008-10-29 Thread KAMEZAWA Hiroyuki
On Wed, 29 Oct 2008 17:07:18 +0900 (JST) Hirokazu Takahashi <[EMAIL PROTECTED]> wrote: > Hi, > > > Hi Ryo, > > > > The page_cgroup seems to be stable in the latest kernel. > > I'd like to know whether you have a plan or schedule to release > > a new version of bio-cgroup against latest kernel. >

[Devel] Re: About bio-cgroup

2008-10-29 Thread Hirokazu Takahashi
Hi, > Hi Ryo, > > The page_cgroup seems to be stable in the latest kernel. > I'd like to know whether you have a plan or schedule to release > a new version of bio-cgroup against latest kernel. I have a plan on doing this. I thought I would start to implement it once the implementation of memor