[Devel] Re: [RFC v2][PATCH 2/9] General infrastructure for checkpoint restart

2008-08-28 Thread Dave Hansen
On Sun, 2008-08-24 at 22:47 -0400, Oren Laadan wrote: > > I replaced all of the uses of these with kmalloc()/kfree() and stack > > allocations. I'm really not sure what these buy us since our allocators > > are already so fast. tbuf, especially, worries me if it gets used in > > any kind of neste

[Devel] Re: [RFC v2][PATCH 2/9] General infrastructure for checkpoint restart

2008-08-28 Thread Dave Hansen
On Wed, 2008-08-20 at 23:04 -0400, Oren Laadan wrote: > index f3e2065..584c8f9 100644 > --- a/Makefile > +++ b/Makefile > @@ -619,7 +619,7 @@ export mod_strip_cmd > > > ifeq ($(KBUILD_EXTMOD),) > -core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ > +core-y += k

[Devel] Re: [RFC v2][PATCH 2/9] General infrastructure for checkpoint restart

2008-08-26 Thread Oren Laadan
Dave Hansen wrote: > On Sun, 2008-08-24 at 22:47 -0400, Oren Laadan wrote: >>> I replaced all of the uses of these with kmalloc()/kfree() and stack >>> allocations. I'm really not sure what these buy us since our allocators >>> are already so fast. tbuf, especially, worries me if it gets used i

[Devel] Re: [RFC v2][PATCH 2/9] General infrastructure for checkpoint restart

2008-08-24 Thread Oren Laadan
Dave Hansen wrote: > On Wed, 2008-08-20 at 23:04 -0400, Oren Laadan wrote: >> diff --git a/checkpoint/checkpoint.c b/checkpoint/checkpoint.c >> new file mode 100644 >> index 000..25343f5 >> --- /dev/null >> +++ b/checkpoint/checkpoint.c [...] >> +/* write the checkpoint header */ >> +static

[Devel] Re: [RFC v2][PATCH 2/9] General infrastructure for checkpoint restart

2008-08-23 Thread Oren Laadan
Louis Rilling wrote: > On Wed, Aug 20, 2008 at 11:04:13PM -0400, Oren Laadan wrote: >> Add those interfaces, as well as helpers needed to easily manage the >> file format. The code is roughly broken out as follows: >> >> ckpt/sys.c - user/kernel data transfer, as well as setup of the >> checkpoin

[Devel] Re: [RFC v2][PATCH 2/9] General infrastructure for checkpoint restart

2008-08-21 Thread Louis Rilling
On Wed, Aug 20, 2008 at 11:04:13PM -0400, Oren Laadan wrote: > > Add those interfaces, as well as helpers needed to easily manage the > file format. The code is roughly broken out as follows: > > ckpt/sys.c - user/kernel data transfer, as well as setup of the > checkpoint/restart context (a per-che