summaryrefslogtreecommitdiffstats
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2006-06-24 19:37:00 -0400
committerLen Brown <len.brown@intel.com>2006-06-28 03:14:42 -0400
commitc5ab81ca01ad4a8870b456f93dd2fb3d815f91d9 (patch)
tree7e27bfff185a321b3ac43be660093dece5cec993 /kernel/dma.c
parenta3c6598f92cf27d3d201a2a5b052563148156837 (diff)
downloadlinux-c5ab81ca01ad4a8870b456f93dd2fb3d815f91d9.tar.bz2
ACPI: C-States: bm_activity improvements
Do not assume there was bus mastering activity if the idle handler didn't get called, as there's only reason to not enter C3-type sleep if there is bus master activity going on. Only for the "promotion" into C3-type sleep bus mastering activity is taken into account, and there only current bus mastering activity, and not pure guessing should lead to the decision on whether to enter C3-type sleep or not. Also, as bm_activity is a jiffy-based bitmask (bit 0: bus mastering activity during this juffy, bit 31: bus mastering activity 31 jiffies ago), fix the setting of bit 0, as it might be called multiple times within one jiffy. 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>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions