mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	mingo@elte.hu, linux-kernel@vger.kernel.org, rjw@sisk.pl,
	dipankar@in.ibm.com, tglx@linuxtronix.de
Subject: Re: RCU hang on cpu re-hotplug with 2.6.27rc8
Date: Tue, 7 Oct 2008 09:15:44 +0200	[thread overview]
Message-ID: <20081007071544.GC20740@one.firstfloor.org> (raw)
In-Reply-To: <20081007030822.GC6820@linux.vnet.ibm.com>

> Could you please try the patch at the following URL (from Thomas
> Gleixner)?
> 
> http://www.rdrop.com/users/paulmck/patches/2.6.27-rc7-tglx-timer-1.patch
> 
> This fixed some CPU hotplug hangs that I was seeing in 2.6.27-rc7 and
> -rc8.  Alternatively, try 2.6.27-rc9, which seems to include Thomas's
> patch.

Still happens with rc9.  This time with frame pointers:

bash          D 00000000ffff975e     0  4770   4757
 ffff8804bcda3bf8 0000000000000082 ffff8804bcda3c18 0000000000000296
 ffff8804bde4e6b0 ffff8804be6fc630 ffff8804bde4e8f8 0000000e00000296
 ffff8804bcda3c18 ffffffff808cfd98 ffff880288064780 ffff88027d18ec98
Call Trace:
 [<ffffffff805c4915>] schedule_timeout+0x22/0xb4
 [<ffffffff8020a009>] ? __switch_to+0x320/0x330
 [<ffffffff802602ed>] ? cpupri_set+0xc5/0xd8
 [<ffffffff805c476f>] wait_for_common+0xcd/0x131
 [<ffffffff8022db87>] ? default_wake_function+0x0/0xf
 [<ffffffff805c485d>] wait_for_completion+0x18/0x1a
 [<ffffffff80243fbf>] synchronize_rcu+0x35/0x3c
 [<ffffffff8024403e>] ? wakeme_after_rcu+0x0/0x12
 [<ffffffff8022ed25>] partition_sched_domains+0x9b/0x1dd
 [<ffffffff8022dbb3>] ? wake_up_process+0x10/0x12
 [<ffffffff8022ee95>] update_sched_domains+0x2e/0x35
 [<ffffffff805c8342>] notifier_call_chain+0x33/0x5b
 [<ffffffff80249291>] __raw_notifier_call_chain+0x9/0xb
 [<ffffffff802492a2>] raw_notifier_call_chain+0xf/0x11
 [<ffffffff805c1c3a>] _cpu_up+0xd3/0x10c
 [<ffffffff805c1cca>] cpu_up+0x57/0x67
 [<ffffffff805a5787>] store_online+0x4d/0x75
 [<ffffffff803e67bb>] sysdev_store+0x1b/0x1d
 [<ffffffff802cce10>] sysfs_write_file+0xe0/0x11c
 [<ffffffff8028b661>] vfs_write+0xae/0x137
 [<ffffffff8028bb0a>] sys_write+0x47/0x6f
 [<ffffffff8020b34b>] system_call_fastpath+0x16/0x1b

BTW it also happens reliably every time. Reproduced it three times
now. I just do

laut:~ # echo 0 > /sys/devices/system/cpu/cpu15/online 
laut:~ # echo 0 > /sys/devices/system/cpu/cpu14/online 
laut:~ # echo 1 > /sys/devices/system/cpu/cpu14/online 
laut:~ # echo 1 > /sys/devices/system/cpu/cpu15/online 
<hang>

-Andi


  reply	other threads:[~2008-10-07  7:09 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 14:12 scheduler " Andi Kleen
2008-10-06 23:28 ` RCU " Andi Kleen
2008-10-07  3:08   ` Paul E. McKenney
2008-10-07  7:15     ` Andi Kleen [this message]
2008-10-07 15:26       ` Paul E. McKenney
2008-10-07 15:49         ` Andi Kleen
2008-10-07 16:34           ` Paul E. McKenney
2008-10-07 21:09             ` Andi Kleen
2008-10-07 21:22               ` Paul E. McKenney
2008-10-09  1:08                 ` [PATCH] rudimentary tracing for Classic RCU Paul E. McKenney
2008-10-09  6:20                   ` Lai Jiangshan
2008-10-09  6:55                     ` Andi Kleen
2008-10-09  7:05                       ` Lai Jiangshan
2008-10-09  7:14                         ` KOSAKI Motohiro
2008-10-09  7:26                           ` Lai Jiangshan
2008-10-09  8:06                           ` Andi Kleen
2008-10-10 11:48                         ` Paul E. McKenney
2008-10-09 11:50                       ` Paul E. McKenney
2008-10-09 11:50                     ` Paul E. McKenney
2008-10-09 10:23                   ` Frédéric Weisbecker
2008-10-09 10:53                     ` Andi Kleen
2008-10-09 11:44                       ` Frédéric Weisbecker
2008-10-09 11:54                     ` Paul E. McKenney
2008-10-09 13:01                       ` Frédéric Weisbecker
2008-10-10  3:44                   ` [PATCH] v2 " Paul E. McKenney
2008-10-13 23:09                     ` [PATCH] v3 " Paul E. McKenney
2008-10-14  3:53                       ` Lai Jiangshan
2008-10-14 14:35                         ` Paul E. McKenney
2008-10-23 11:12                       ` Lai Jiangshan
2008-10-26 21:59                         ` Paul E. McKenney
2008-10-27 21:50                           ` Paul E. McKenney
2008-10-27 23:57                             ` Paul E. McKenney
2008-10-29  1:16                               ` Paul E. McKenney
2008-10-29  1:31                                 ` Lai Jiangshan
2008-10-30 15:52                                   ` Paul E. McKenney
2008-10-09  1:33                 ` RCU hang on cpu re-hotplug with 2.6.27rc8 Paul E. McKenney
2008-10-09  4:56                   ` Andi Kleen
2008-10-09  7:24                     ` Thomas Gleixner
2008-10-09  8:22                       ` Andi Kleen
2008-10-09 11:44                     ` Paul E. McKenney

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=20081007071544.GC20740@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=dipankar@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=rjw@sisk.pl \
    --cc=tglx@linuxtronix.de \
    /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

Powered by JetHome