[linux-pm] [PATCH 2/2] Fix console handling during suspend/resume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 21 Jun 2006, Benjamin Herrenschmidt wrote:
> 
> But the driver queue isn't quiescent !

AND WHAT THE HELL DOES THAT HAVE TO DO WITH THE DRIVER?

It's not up to the driver to worry about request queues. If you guys think 
it is, you have your heads so solidly up your nether regions that it's not 
even funny.

Dammit, stop trying to make that a driver issue. It isn't. Drivers should 
not have to worry about things like that, because it's not actually the 
driver that even _does_ any of the request queue stuff. That's _all_ at a 
much higher level, and trying to push it down to a driver writer is not 
just stupid, it's so incredibly broken and idiotic that it's not even 
funny.

If you want to take a snapshot of memory, you do NOT ask the drivers to 
just make everything quiet. You start from the upper layers, make things 
quiet there, and _than_ you ask the driver to also shut up.

But the fact is, IDE drivers don't even have to be told to shut up. If 
there are no requests coming in from above, then they will be quiet on 
their own. So, pretty much by definition, a freeze/unfreeze event for an 
IDE driver had better be pretty much a no-op, or you have serious serious 
problems anyway.

Trying to claim anything else is beyond stupid.

And yes, I realize that the suspend/resume code has done some damn stupid 
things. That's not an excuse for then making things _worse_ by not even 
admitting that they are idiotic and bad.

			Linus


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux