From: Dominik Brodowski <linux-X3ehHDuj6sIIGcDfoQAp7OTW4wlIGRCZ@public.gmane.org>
To: Con Kolivas <kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org>
Cc: linux list <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
ck list <ck-1Vlr8iRN5lTguvvKUr3tXg@public.gmane.org>,
Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
vatsa-xthvdsQ13ZrQT0dZR+AlfA@public.gmane.org,
Daniel Petrini
<d.pensator-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] i386 No Idle HZ aka dynticks v051205
Date: Tue, 6 Dec 2005 07:11:39 +0100 [thread overview]
Message-ID: <20051206061139.GA691@isilmar.linta.de> (raw)
In-Reply-To: <200512051154.45500.kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org>
Hi,
Please merge this patch also into your dyntick patchset. Upon further
refleciton, we shouldn't be _this_ aggressive to enter C3-type sleep if
there was bus mastering activity this jiffy.
Signed-off-by: Dominik Brodowski <linux-X3ehHDuj6sIIGcDfoQAp7OTW4wlIGRCZ@public.gmane.org>
Index: working-tree/drivers/acpi/processor_idle.c
===================================================================
--- working-tree.orig/drivers/acpi/processor_idle.c
+++ working-tree/drivers/acpi/processor_idle.c
@@ -260,7 +260,7 @@ static void acpi_processor_idle(void)
pr->power.bm_check_timestamp = jiffies;
/*
- * If bus mastering is active, 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
* function) but should upon the next.
@@ -271,7 +271,8 @@ static void acpi_processor_idle(void)
* qualification. This may, however, introduce DMA
* issues (e.g. floppy DMA transfer overrun/underrun).
*/
- if (bm_status && cx->demotion.threshold.bm) {
+ if ((pr->power.bm_activity & 0x01) &&
+ cx->demotion.threshold.bm) {
local_irq_enable();
next_state = cx->demotion.state;
if (dyn_tick_enabled())
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
prev parent reply other threads:[~2005-12-06 6:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-05 0:54 [PATCH] i386 No Idle HZ aka dynticks v051205 Con Kolivas
2005-12-05 4:27 ` Con Kolivas
2005-12-05 21:16 ` [ACPI] " Pavel Machek
2005-12-05 21:34 ` Pavel Machek
[not found] ` <200512051154.45500.kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org>
2005-12-06 6:11 ` Dominik Brodowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051206061139.GA691@isilmar.linta.de \
--to=linux-x3ehhduj6siigcdfoqap7otw4wligrcz@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=ck-1Vlr8iRN5lTguvvKUr3tXg@public.gmane.org \
--cc=d.pensator-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
--cc=vatsa-xthvdsQ13ZrQT0dZR+AlfA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox