]> err.no Git - linux-2.6/commit
ACPI: C-States: only demote on current bus mastering activity
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 24 Jun 2006 23:37:00 +0000 (19:37 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 28 Jun 2006 07:14:50 +0000 (03:14 -0400)
commitc4a001b1ea32e09f7556178249b8885418858b5c
tree29abe5b8088968cdc28de3bd6888d05366f2478a
parentc5ab81ca01ad4a8870b456f93dd2fb3d815f91d9
ACPI: C-States: only demote on current bus mastering activity

Only if bus master activity is going on at the present, we should avoid
entering C3-type sleep, as it might be a faulty transition.  As long as the
bm_activity bitmask was based on the number of calls to the ACPI idle
function, looking at previous moments made sense.  Now, with it being based on
what happened this jiffy, looking at this jiffy should be sufficient.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c