On Saturday, August 21, 2010, Rafael J. Wysocki wrote: > On Friday, August 20, 2010, Bojan Smojver wrote: > > On Thu, 2010-08-19 at 19:49 +1000, Bojan Smojver wrote: > > > Not tested, but here it is > > > > This one is tested with both nocompress option passed to the kernel and > > without. Only one minor change compared to the previous patch - > > calculation in enough_swap() also takes into account the compress v. > > nocompress. > > OK, it generally looks good. One more remark, though. Since LZO compression is hardcoded into your code, perhaps you can rename save_image_cmp() to save_image_lzo() (and analogously in the other places)? Thanks, Rafael _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm