[Devel] Re: [PATCH 2/5] user-cr: align powerpc sp for eclone, clean up __eclone

2009-12-16 Thread Matt Helsley
On Wed, Dec 16, 2009 at 08:29:25PM -0800, Matt Helsley wrote: > On Fri, Dec 04, 2009 at 11:02:28PM -0600, Nathan Lynch wrote: > > /* Set up arguments for system call. */ > > - mr r3,r5 /* flags */ > > - mr r4,r7 /* clone_args */ > > - mr r5,r8 /* clone_args' size *

[Devel] Re: [PATCH 2/5] user-cr: align powerpc sp for eclone, clean up __eclone

2009-12-16 Thread Matt Helsley
On Fri, Dec 04, 2009 at 11:02:28PM -0600, Nathan Lynch wrote: > Using genstack in nsexeccwp exposed this bug. The child_stack value > being passed to the kernel via clone_args was not properly aligned, > causing the child function to access the guard page. > > And it turns out we needn't pass chi

[Devel] Re: [PATCH 0/5] user-cr fixes and generic stack API

2009-12-16 Thread Serge E. Hallyn
Quoting Nathan Lynch (n...@pobox.com): > Hi Oren, > > Here's a patch series against ckpt-v19-rc2 that fixes a couple of > minor issues for powerpc and adds a generic stack API ("genstack"). > > Nathan Lynch (5): > catch attempts to build clone_ppc_.S in 64-bit mode > user-cr: align powerpc sp

[Devel] Re: [PATCH RFC] refuse checkpoint of file with f_owner

2009-12-16 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@us.ibm.com): > ... because we don't yet support its restore. BTW, I am queueing patches on top of v19-rc2 at branch cr-next of git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linux-cr.git which you can see at http://git.kernel.org/gitweb.cgi?p=linux/kernel/git

[Devel] [PATCH RFC] refuse checkpoint of file with f_owner

2009-12-16 Thread Serge E. Hallyn
... because we don't yet support its restore. Signed-off-by: Serge E. Hallyn --- checkpoint/files.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/checkpoint/files.c b/checkpoint/files.c index c8e8d7f..cac5236 100644 --- a/checkpoint/files.c +++ b/checkpoint

[Devel] Re: [PATCH RFC v2 2/4] memcg: extract mem_group_usage() from mem_cgroup_read()

2009-12-16 Thread Balbir Singh
* Kirill A. Shutemov [2009-12-12 00:59:17]: > Helper to get memory or mem+swap usage of the cgroup. > > Signed-off-by: Kirill A. Shutemov Looks like a good cleanup to me! Acked-by: Balbir Singh -- Balbir ___ Containers mailing list conta