Messages in this thread | | | Subject | Re: [PATCH v8]: Improve performance of LZO/plain hibernation | From | Bojan Smojver <> | Date | Mon, 10 Oct 2011 09:24:14 +1100 |
| |
On Sun, 2011-10-09 at 21:19 +1100, Bojan Smojver wrote: > May be related, when I simulate image loading failure by returning > error from load_image(), I get bad page state error, count -1, so > something is amiss. Probably the readahead buffers or maps.
Yeah, this will probably be an easy fix. I think I've forgotten that handle->cur is no longer being allocated as a standalone page on image load (instead, it's a pointer into maps). So, when we fail, handle->cur is freed twice, because it's not NULL. Will test the fix shortly.
-- Bojan
| |