On Wednesday, 8 August 2007 04:56, Tejun Heo wrote: > Rafael J. Wysocki wrote: > > Well, on my box (nx6325) with the appended (experimental) patch applied > > on top of 2.6.23-rc1 with the patchset from > > http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.23-rc2/patches/ , the > > double spin down doesn't occur during hibernation and the system is shut down > > notceably faster. > > Can you please explain what the patch does? It replaces the shutting down of devices done by kernel_shutdown_prepare() with the suspending of the (just like before entering S3, but the target state is now S4) and the shutting down of sysdevs with suspending them. It also disables the nonboot CPUs before entering the sleep state (S4), which generally always is a good idea. In short, it makes hibernation_platform_enter() execute the enter-a-sleep-state sequence instead of the mixed shutdown-with-entering-S4 thing. > So, I take it that entering S4 also spins down the disk. Yes. > Does the patch remove the ACPI spin down or libata one? I _think_ that it removes the ACPI one, although I'll need to do some more testing to confirm that. Greetings, Rafael -- "Premature optimization is the root of all evil." - Donald Knuth - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html