Re: [PATCH v4] pm_ops: add system quiesce/activate hooks

Johannes Berg
2007-04-13T21:59:07Z

[-- Attachment #1.1: Type: text/plain, Size: 499 bytes --]

On Fri, 2007-04-13 at 23:52 +0200, Pavel Machek wrote:

> Look again, this sequence is before taking system snapshot, and then
> we have to recover and save the snapshot, too.

I know. But that doesn't make us care.

As I explained previously, the decrementer exception is pending until it
is taken. It doesn't matter one bit whether it is pending during the
snapshot, but it does matter if we need the CPU to go to sleep later
because it won't when the exception is pending.

johannes

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]