Re: [PATCH v8]: Improve performance of LZO/plain hibernation

From: Bojan Smojver
Date: Sun Oct 09 2011 - 06:20:19 EST


------- Original message -------
From: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
To: rjw@xxxxxxx
Cc: bojan@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
Sent: 9.10.'11, 20:22

On Thu, Oct 6, 2011 at 9:45 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
The panic happens during late resume, when trying to switch to the hibernated
kernel.

Is there some way to autotest hibernation? I could try to reproduce
the issue but I'm certainly not going to hibernate/resume by hand...
:-)

I kinda remember reading in one of the bug reports for Intel graphics about someone doing it. Not sure how, to be honest. Rafael will know for sure.

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.

PS. I will also rewrite some of the vmalloc() calls to kmalloc(). No point wasting whole pages for small objects.

--
Bojan --
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/