All of lore.kernel.org
 help / color / mirror / Atom feed
From: Venki Pallipadi <venkatesh.pallipadi@intel.com>
To: Adam Belay <abelay@novell.com>, Andi Kleen <ak@suse.de>,
	eranian@hpl.hp.com
Cc: Venki Pallipadi <venkatesh.pallipadi@intel.com>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, randy.dunlap@oracle.com,
	lenb@kernel.org
Subject: Re: 2.6.21-rc6-mm1
Date: Tue, 10 Apr 2007 17:15:14 -0700	[thread overview]
Message-ID: <20070411001513.GA2975@linux-os.sc.intel.com> (raw)
In-Reply-To: <1176249569.32554.229.camel@localhost.localdomain>

On Tue, Apr 10, 2007 at 07:59:29PM -0400, Adam Belay wrote:
> On Tue, 2007-04-10 at 15:20 -0700, Venki Pallipadi wrote:
> > On Mon, Apr 09, 2007 at 07:40:52PM +0200, Rafael J. Wysocki wrote:
> > > On Monday, 9 April 2007 18:14, Pallipadi, Venkatesh wrote:
> > > > 
> > > > >-----Original Message-----
> > > > >From: Rafael J. Wysocki [mailto:rjw@sisk.pl] 
> > > > >Sent: Monday, April 09, 2007 9:08 AM
> > > > >To: Andrew Morton
> > > > >Cc: linux-kernel@vger.kernel.org; randy.dunlap@oracle.com; 
> > > > >lenb@kernel.org; Pallipadi, Venkatesh
> > > > >Subject: Re: 2.6.21-rc6-mm1
> > > > >
> > > > >On Sunday, 8 April 2007 23:35, Andrew Morton wrote:
> > > > >> 
> > > > >> 
> > > > >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2
> > > > >.6.21-rc6/2.6.21-rc6-mm1/
> > > > >> 
> > > > >> 
> > > > >> - Lots of x86 updates
> > > > >> 
> > > > >> - This is a 25MB diff against mainline, which is rather large.
> > > > >
> > > > >The cpuidle thing tends to hang my x86-64 machines on boot.
> > > > >
> > > > 
> > > > Hi Rafael,
> > > > 
> > > > At what point during boot does it hang?
> > > 
> > > When mounting the root filesystem.  It hangs completely, even the magic SysRq
> > > doesn't work
> > > 
> > 
> > Rafael: Below patch should fix the hang.
> > Len: Please include this patch in acpi-test.
> > 
> > Thanks,
> > Venki
> > 
> > Prevent hang on x86-64, when ACPI processor driver is added as a module on
> > a system that does not support C-states.
> > 
> > x86-64 expects all idle handlers to enable interrupts before returning from
> > idle handler. This is due to enter_idle(), exit_idle() races. Make
> > cpuidle_idle_call() confirm to this when there is no pm_idle_old.
> > 
> > Also, cpuidle look at the return values of attch_driver() and set
> > current_driver to NULL if attach fails on all CPUs.
> 
> My vote would be to instead remove enter_idle() and exit_idle() from
> x86-64, just as was done with i386.  Performance monitoring
> infrastructure shouldn't be interfering with the idle interrupt
> delivery, as that could only hurt performance...  Besides, there's
> probably a better way of doing this than an idle notifier anyway.
> 

Agreed. I did not like local_irq_enable() in cpuidle either, but added it
anyway as it was a corner case when cpuidle is active and no driver is
active and not a common case. I thought we will have it as a bandaid solution
until enter_idle, exit_idle is around.

Andi/Stephane: What are the plans around enter_idle exit_idle in x86-64.
Is it still being used by perfmon for x86-64 arch?

Thanks,
Venki

  reply	other threads:[~2007-04-11  0:16 UTC|newest]

Thread overview: 78+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-08 21:35 2.6.21-rc6-mm1 Andrew Morton
2007-04-09 11:13 ` 2.6.21-rc6-mm1 Borislav Petkov
2007-04-09 16:08 ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-09 16:14   ` 2.6.21-rc6-mm1 Pallipadi, Venkatesh
2007-04-09 17:40     ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-10 22:20       ` 2.6.21-rc6-mm1 Venki Pallipadi
2007-04-11 19:28         ` 2.6.21-rc6-mm1 Rafael J. Wysocki
2007-04-10 23:59       ` 2.6.21-rc6-mm1 Adam Belay
2007-04-11  0:15         ` Venki Pallipadi [this message]
2007-04-11  5:20           ` 2.6.21-rc6-mm1 Stephane Eranian
2007-04-11 10:39             ` 2.6.21-rc6-mm1 Andi Kleen
2007-04-11 13:09               ` 2.6.21-rc6-mm1 Stephane Eranian
2007-04-11 13:19                 ` 2.6.21-rc6-mm1 Andi Kleen
2007-04-11 18:06               ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-09 19:03 ` 2.6.21-rc6-mm1 Torsten Kaiser
2007-04-09 21:42   ` <linux/wait.h> uses definitions from <linux/sched.h> (was Re: 2.6.21-rc6-mm1) Stefan Richter
2007-04-09 22:01     ` Stefan Richter
2007-04-10  0:50 ` 2.6.21-rc6-mm1 Nishanth Aravamudan
2007-04-10  0:56   ` 2.6.21-rc6-mm1 Christoph Lameter
2007-04-10  1:07   ` 2.6.21-rc6-mm1 William Lee Irwin III
2007-04-10 11:28 ` 2.6.21-rc6-mm1 ima "BUG: held lock freed!" Joseph Fannin
2007-04-10 12:24 ` 2.6.21-rc6-mm1 Cornelia Huck
2007-04-10 12:38   ` 2.6.21-rc6-mm1 Ananth N Mavinakayanahalli
2007-04-10 14:09 ` [Ocfs2-devel] [RFC: -mm patch] fs/ocfs2/: make 3 functions static Adrian Bunk
2007-04-10 21:08   ` Adrian Bunk
2007-04-10 21:08 ` [-mm patch] make struct proc_kpagemap static Adrian Bunk
2007-04-10 21:09   ` Matt Mackall
2007-04-10 21:08 ` [-mm patch] make kernel/module.c:is_exported() static Adrian Bunk
2007-04-10 22:21 ` 2.6.21-rc6-mm1 aacraid not finding device Steve Fox
2007-04-13 12:35   ` [PATCH] aacraid: " Salyzyn, Mark
2007-04-13 12:35     ` Salyzyn, Mark
2007-04-16 15:21     ` [PATCH] aacraid: kzalloc Salyzyn, Mark
2007-04-11 19:42 ` 2.6.21-rc6-mm1 USB related boot hang Helge Hafting
2007-04-11 20:43   ` Andrew Morton
2007-04-11 23:07     ` Helge Hafting
2007-04-11 23:25       ` Andrew Morton
2007-04-12  7:50       ` Jiri Kosina
2007-04-12  8:02         ` Jiri Kosina
2007-04-12 11:42           ` Helge Hafting
2007-04-12 16:47             ` Andrew Morton
2007-04-12 18:56               ` Helge Hafting
2007-04-12 15:31           ` Jiri Kosina
2007-04-12 16:01             ` Corey Minyard
2007-04-12 16:55             ` Andrew Morton
2007-04-12 17:25               ` Greg KH
2007-04-12 17:49               ` Jiri Kosina
2007-04-12 17:58                 ` Greg KH
2007-04-12 18:17                 ` Jiri Kosina
2007-04-12 21:06                   ` Corey Minyard
2007-04-12 20:19             ` Helge Hafting
2007-04-12 19:22         ` Helge Hafting
2007-04-12 18:32       ` Jiri Kosina
2007-04-12 20:25         ` Helge Hafting
2007-04-12 23:16           ` Jiri Kosina
2007-04-25  9:54             ` Helge Hafting
2007-04-25 11:28               ` Jiri Kosina
2007-04-25 12:45                 ` Helge Hafting
2007-04-26 18:38                 ` Helge Hafting
2007-04-26 22:28                 ` 2.6.21-rc6-mm1 USB related boot hang - bisection result Helge Hafting
2007-04-26 22:39                   ` Jiri Kosina
2007-04-26 23:13                     ` Andrew Morton
2007-04-27 21:04                     ` Helge Hafting
2007-04-27 22:41                       ` Andrew Morton
2007-04-13 23:45 ` CPU_IDLE prevents resuming from STR [was: Re: 2.6.21-rc6-mm1] Mattia Dongili
2007-04-16  2:40   ` Shaohua Li
2007-04-17  2:50     ` Joshua Wise
2007-04-17  2:50       ` Shaohua Li
2007-04-17  6:47       ` Shaohua Li
2007-04-18 23:00         ` Joshua Wise
2007-04-19  1:05           ` Shaohua Li
2007-04-24  8:10 ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-24 11:58   ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-24 13:43     ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-24 17:22       ` 2.6.21-rc6-mm1 Andrew Morton
2007-04-25 20:50         ` 2.6.21-rc6-mm1 J.A. Magallón
2007-04-25 21:39           ` start_udev and devpts [Re: 2.6.21-rc6-mm1] J.A. Magallón
2007-04-25 22:26             ` J.A. Magallón
  -- strict thread matches above, loose matches on Subject: below --
2007-04-08 21:35 2.6.21-rc6-mm1 Andrew Morton

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=20070411001513.GA2975@linux-os.sc.intel.com \
    --to=venkatesh.pallipadi@intel.com \
    --cc=abelay@novell.com \
    --cc=ak@suse.de \
    --cc=akpm@linux-foundation.org \
    --cc=eranian@hpl.hp.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    --cc=rjw@sisk.pl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.