[Devel] Re: [RFC v13][PATCH 00/14] Kernel based checkpoint/restart

2009-02-12 Thread Matt Mackall
On Thu, 2009-02-12 at 14:57 -0800, Dave Hansen wrote: > > Also, what happens if I checkpoint a process in 2.6.30 and restore it in > > 2.6.31 which has an expanded idea of what should be restored? Do your > > file formats handle this sort of forward compatibility or am I > > restricted to one kerne

[Devel] Re: [RFC v13][PATCH 00/14] Kernel based checkpoint/restart

2009-02-12 Thread Matt Mackall
On Thu, 2009-02-12 at 10:11 -0800, Dave Hansen wrote: > > - In bullet-point form, what features are missing, and should be added? > > * support for more architectures than i386 > * file descriptors: > * sockets (network, AF_UNIX, etc...) > * devices files > * shmfs, hugetlbfs > * epoll

[Devel] Re: [PATCH 2/3] Prepare pid_nr() etc functions to work with not-NULL pids

2007-10-04 Thread Matt Mackall
On Thu, Oct 04, 2007 at 12:54:17PM +0400, Pavel Emelyanov wrote: > Matt Mackall wrote: > > On Wed, Oct 03, 2007 at 06:20:43PM +0400, Pavel Emelyanov wrote: > >> Just make the __pid_nr() etc functions that expect the argument > >> to always be not NULL. > >>

[Devel] Re: [PATCH 2/3] Prepare pid_nr() etc functions to work with not-NULL pids

2007-10-03 Thread Matt Mackall
On Wed, Oct 03, 2007 at 06:20:43PM +0400, Pavel Emelyanov wrote: > Just make the __pid_nr() etc functions that expect the argument > to always be not NULL. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> > static inline pid_t pid_nr(struct pid *pid) > { > pid_t nr = 0; > if (

[Devel] Re: Kernel text size with pid namespace

2007-09-21 Thread Matt Mackall
On Thu, Sep 20, 2007 at 10:03:59PM -0700, [EMAIL PROTECTED] wrote: > Matt Mackall [EMAIL PROTECTED] wrote: > | On Wed, Sep 19, 2007 at 05:16:44PM -0700, [EMAIL PROTECTED] wrote: > | > Matt, > | > > | > The pid-namespace patcheset (http://lkml.org/lkml/2007/8/10/118) &g

[Devel] Re: Kernel text size with pid namespace

2007-09-19 Thread Matt Mackall
On Wed, Sep 19, 2007 at 05:16:44PM -0700, [EMAIL PROTECTED] wrote: > Matt, > > The pid-namespace patcheset (http://lkml.org/lkml/2007/8/10/118) > was added to the -mm tree in 2.6.23-rc3-mm1. > > With CONFIG_CC_OPTIMIZE_FOR_SIZE=y this patchset increases the kernel > text size by about 5K (closer

[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-11 Thread Matt Mackall
On Wed, Jul 11, 2007 at 10:39:02AM +0400, Pavel Emelianov wrote: > Matt Mackall wrote: > > On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: > >> This is "submition for inclusion" of hierarchical, not kconfig > >> configurable, zero overheaded ;

[Devel] Re: [PATCH 0/16] Pid namespaces

2007-07-10 Thread Matt Mackall
On Fri, Jul 06, 2007 at 12:01:59PM +0400, Pavel Emelianov wrote: > This is "submition for inclusion" of hierarchical, not kconfig > configurable, zero overheaded ;) pid namespaces. How big is it? Do I want it on my cell phone or on my wireless router? -- Mathematics is the supreme nostalgia of

[Devel] Re: /proc/*/pagemap BUG: sleeping function called from invalid context

2007-04-10 Thread Matt Mackall
nabled, use double-buffering in pagemap to avoid calling copy_to_user while preemption is disabled. Tested on x86 with HIGHPTE with DEBUG_SPINLOCK_SLEEP and PROVE_LOCKING. Signed-off-by: Matt Mackall <[EMAIL PROTECTED]> Inde

[Devel] Re: /proc/*/pagemap BUG: sleeping function called from invalid context

2007-04-10 Thread Matt Mackall
On Mon, Apr 09, 2007 at 12:25:54PM +0400, Alexey Dobriyan wrote: > After > cat /proc/self/pagemap > > BUG: sleeping function called from invalid context at > include/asm/uaccess.h:453 > in_atomic():1, irqs_disabled():0 > 1 lock held by cat/14183: > #0: (&mm->mmap_sem){}, at: [] pagema

[Devel] Re: /proc/*/pagemap BUG: sleeping function called from invalid context

2007-04-10 Thread Matt Mackall
On Mon, Apr 09, 2007 at 12:25:54PM +0400, Alexey Dobriyan wrote: > After > cat /proc/self/pagemap > > BUG: sleeping function called from invalid context at > include/asm/uaccess.h:453 > in_atomic():1, irqs_disabled():0 > 1 lock held by cat/14183: > #0: (&mm->mmap_sem){}, at: [] pagema