All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-cr:  v23-rc1 pushed
@ 2011-01-11  1:18 Oren Laadan
       [not found] ` <4D2BAFD4.1080400-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Oren Laadan @ 2011-01-11  1:18 UTC (permalink / raw)
  To: Linux Containers
  Cc: Pavel Emelyanov, Nathan Lynch, Dan Smith, Sukadev Bhattiprolu

Folks,

I just pushed out a new v23-rc1 branch of linux-cr. This one is
rebased to 2.6.37, and contains nearly all the patches pulled
on v22-dev. I only gave it a brief test drive... feel free to 
throw all your ammo it.

Rebasing was fairly straightforward, but I'd feel more comfortable 
with more eyes looking at some code, specifically:

userns [Serge ?]
sockets [Dan ?]
cgroup_freezer [Matt ?]

I skipped PowerPC patches and ARM patches. Nathan, Christoffer -
can you take a look at those, respectively, and re-post to list ?

For the "final" v23, I'm hoping to add at least the logic for
unlinked files and inotify-and-friends; so now is probably a
good time to start circulating them ... (hint!)

There are some updates and fixes to user-cr too, mainly pulling
(and reworking) suka's old cleanup patches, and updating the
include files.

I also pulled and reworked Suka's patches for file-locks, and 
Nathan's patches for hugetlb - will post those seperately.

Happy New Year,

Oren.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-cr:  v23-rc1 pushed
       [not found] ` <4D2BAFD4.1080400-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
@ 2011-01-14  6:59   ` Sukadev Bhattiprolu
       [not found]     ` <20110114065911.GA11086-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  2011-01-27 13:23   ` Matt Helsley
  1 sibling, 1 reply; 4+ messages in thread
From: Sukadev Bhattiprolu @ 2011-01-14  6:59 UTC (permalink / raw)
  To: Oren Laadan; +Cc: Pavel Emelyanov, Linux Containers, Nathan Lynch, Dan Smith

Oren Laadan [orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org] wrote:
| Folks,
| 
| I just pushed out a new v23-rc1 branch of linux-cr. This one is
| rebased to 2.6.37, and contains nearly all the patches pulled
| on v22-dev. I only gave it a brief test drive... feel free to 
| throw all your ammo it.

Oren,

We need the file_tty() helper to get the tty object from the file pointer
(otherwise we will be off by 4 bytes and fail tty_paranoia_check() in
tty_file_checkpoint()).

Thanks,

Sukadev

diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index c89f055..6aa458e 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -2781,7 +2784,7 @@ static int tty_file_checkpoint(struct ckpt_ctx *ctx, struc
        int master_objref, slave_objref;
        int ret;
 
-       tty = (struct tty_struct *)file->private_data;
+       tty = file_tty(file);
        inode = file->f_path.dentry->d_inode;
        if (tty_paranoia_check(tty, inode, "tty_file_checkpoint"))
                return -EIO;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: linux-cr:  v23-rc1 pushed
       [not found]     ` <20110114065911.GA11086-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
@ 2011-01-14 18:53       ` Oren Laadan
  0 siblings, 0 replies; 4+ messages in thread
From: Oren Laadan @ 2011-01-14 18:53 UTC (permalink / raw)
  To: Sukadev Bhattiprolu
  Cc: Pavel Emelyanov, Linux Containers, Nathan Lynch, Dan Smith



On 01/14/2011 01:59 AM, Sukadev Bhattiprolu wrote:
> Oren Laadan [orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org] wrote:
> | Folks,
> | 
> | I just pushed out a new v23-rc1 branch of linux-cr. This one is
> | rebased to 2.6.37, and contains nearly all the patches pulled
> | on v22-dev. I only gave it a brief test drive... feel free to 
> | throw all your ammo it.
> 
> Oren,
> 
> We need the file_tty() helper to get the tty object from the file pointer
> (otherwise we will be off by 4 bytes and fail tty_paranoia_check() in
> tty_file_checkpoint()).

Ok, applied. Thanks,

Oren.

> 
> Thanks,
> 
> Sukadev
> 
> diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
> index c89f055..6aa458e 100644
> --- a/drivers/tty/tty_io.c
> +++ b/drivers/tty/tty_io.c
> @@ -2781,7 +2784,7 @@ static int tty_file_checkpoint(struct ckpt_ctx *ctx, struc
>         int master_objref, slave_objref;
>         int ret;
>  
> -       tty = (struct tty_struct *)file->private_data;
> +       tty = file_tty(file);
>         inode = file->f_path.dentry->d_inode;
>         if (tty_paranoia_check(tty, inode, "tty_file_checkpoint"))
>                 return -EIO;
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-cr:  v23-rc1 pushed
       [not found] ` <4D2BAFD4.1080400-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
  2011-01-14  6:59   ` Sukadev Bhattiprolu
@ 2011-01-27 13:23   ` Matt Helsley
  1 sibling, 0 replies; 4+ messages in thread
From: Matt Helsley @ 2011-01-27 13:23 UTC (permalink / raw)
  To: Oren Laadan
  Cc: Pavel Emelyanov, Linux Containers, Nathan Lynch, Dan Smith,
	Sukadev Bhattiprolu

On Mon, Jan 10, 2011 at 08:18:12PM -0500, Oren Laadan wrote:
> Folks,
> 
> I just pushed out a new v23-rc1 branch of linux-cr. This one is
> rebased to 2.6.37, and contains nearly all the patches pulled
> on v22-dev. I only gave it a brief test drive... feel free to 
> throw all your ammo it.
> 
> Rebasing was fairly straightforward, but I'd feel more comfortable 
> with more eyes looking at some code, specifically:
> 
> userns [Serge ?]
> sockets [Dan ?]
> cgroup_freezer [Matt ?]

Other than the nit I just sent a patch for it looks fine.

> 
> I skipped PowerPC patches and ARM patches. Nathan, Christoffer -
> can you take a look at those, respectively, and re-post to list ?

I looked at the powerpc patches. The only "difficult" part to
forward-port is the debug register checkpoint/restart code. 
It's more difficult because additional debug register support has
since been added to the kernel and those ought to be supported
by c/r too.

I think we'd be better off splitting that out the debug register
c/r code into a separate patch. We can just error ou if it's obvious
that debug registers have been setup. An untested patch for erroring
out is forthcoming. For now I'll let Nathan look into adding the new
debug register support.

Cheers,
	-Matt Helsley

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-27 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-11  1:18 linux-cr: v23-rc1 pushed Oren Laadan
     [not found] ` <4D2BAFD4.1080400-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2011-01-14  6:59   ` Sukadev Bhattiprolu
     [not found]     ` <20110114065911.GA11086-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2011-01-14 18:53       ` Oren Laadan
2011-01-27 13:23   ` Matt Helsley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.