Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31450
b: refs/heads/master
c: c4a001b
h: refs/heads/master
v: v3
  • Loading branch information
Dominik Brodowski authored and Len Brown committed Jun 28, 2006
1 parent 71fdae5 commit 5584dd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5ab81ca01ad4a8870b456f93dd2fb3d815f91d9
refs/heads/master: c4a001b1ea32e09f7556178249b8885418858b5c
7 changes: 4 additions & 3 deletions trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,18 +287,19 @@ static void acpi_processor_idle(void)
pr->power.bm_check_timestamp = jiffies;

/*
* Apply bus mastering demotion policy. Automatically demote
* If bus mastering is or was active this jiffy, demote
* to avoid a faulty transition. Note that the processor
* won't enter a low-power state during this call (to this
* funciton) but should upon the next.
* function) but should upon the next.
*
* TBD: A better policy might be to fallback to the demotion
* state (use it for this quantum only) istead of
* demoting -- and rely on duration as our sole demotion
* qualification. This may, however, introduce DMA
* issues (e.g. floppy DMA transfer overrun/underrun).
*/
if (pr->power.bm_activity & cx->demotion.threshold.bm) {
if ((pr->power.bm_activity & 0x1) &&
cx->demotion.threshold.bm) {
local_irq_enable();
next_state = cx->demotion.state;
goto end;
Expand Down

0 comments on commit 5584dd1

Please sign in to comment.