]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Make warning in suspend_test_finish() less likely to happen
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 20 Oct 2009 04:45:02 +0000 (06:45 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Oct 2009 23:23:45 +0000 (08:23 +0900)
commit2c391664cbeb2a77105e66c9108db33aa71a727d
treeb5fd1d3877e2a781a7953c408fdbde952acbdbc6
parent841248a22487891ac26734d2fc295db951779ebe
PM: Make warning in suspend_test_finish() less likely to happen

Increase TEST_SUSPEND_SECONDS to 10 so the warning in
suspend_test_finish() doesn't annoy the users of slower systems so much.

Also, make the warning print the suspend-resume cycle time, so that we
know why the warning actually triggered.

Patch prepared during the hacking session at the Kernel Summit in Tokyo.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/suspend_test.c