Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-16 Thread Rafael J. Wysocki
On Thursday, 16 August 2007 05:53, Alon Bar-Lev wrote: > On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > You can malloc as much as you wish at initialization directly into > > > the pointers... I just don't understand what may go wrong if you do > > > this... > > > > Nothing, really

Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-16 Thread Pavel Machek
> On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > > You can malloc as much as you wish at initialization directly into > > > the pointers... I just don't understand what may go wrong if you do > > > this... > > > > Nothing, really. I prefer to have two global pointers and one contigu

Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-15 Thread Alon Bar-Lev
On 8/15/07, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > You can malloc as much as you wish at initialization directly into > > the pointers... I just don't understand what may go wrong if you do this... > > Nothing, really. I prefer to have two global pointers and one contiguous > memory area

Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 14:35, Alon Bar-Lev wrote: > On Saturday 04 August 2007, Alon Bar-Lev wrote: > > > > Hello Rafael, > > > > This is *UNTESTED* suggestion for switching into lzo without the memcpy. > > Please see if I missed something as I the code combination of global > > variables, >

Re: [Suspend-devel] [RFC] Modify switching into lzo compression

2007-08-04 Thread Alon Bar-Lev
On Saturday 04 August 2007, Alon Bar-Lev wrote: > > Hello Rafael, > > This is *UNTESTED* suggestion for switching into lzo without the memcpy. > Please see if I missed something as I the code combination of global > variables, > local memory pool and unrelated sizes is difficult to understand/ma