Re: swsusp does not stop DMA properly during resume

Benjamin Herrenschmidt
2004-01-20T23:43:34Z

> I _think_ what this patch is doing is suspending all devices from within
> the boot kernel before starting into the resumed kernel. Is this correct?
>
> > + update_screen(fg_console); /* Hmm, is this the problem? */
>
> Cryptic comment. To what "problem" does this refer?

Note that you should make sure all calls to update_screen (among others)
are guarded by the console semaphore, with my VT patch, not doing so
will result in WARN_ON's

Ben.