Re: Patch: linux-2.5.42/kernel/sys.c - warm reboot should not suspend devices

Mikael Pettersson
2002-10-15T19:58:33Z

Patrick Mochel writes:
> Please don't try and convolute the code because you're worried about a few
> microseconds. It's about correctness first; then we can worry about
> micro-optimizing the hell out of it.

5 seconds is quite a bit more than "a few microseconds". That's
approximately how much longer it takes for my P4 to reboot, due
to 2.5.42's "oh lets spin down the disks on reboot" change.

It's even slower to reboot than to do a cold boot because on a cold
boot the disks start spinning up directly, but on a warm boot after
2.5.42 the disks don't start spinning up until the BIOS starts to
identify them and look for a bootable device.

2.5.42 is a PITA.