public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: "S.Çağlar Onur" <caglar@pardus.org.tr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [BUG] warning at kernel/cpu.c:38/lock_cpu_hotplug()
Date: Sat, 23 Sep 2006 14:10:58 -0400	[thread overview]
Message-ID: <20060923181058.GA23071@redhat.com> (raw)
In-Reply-To: <200609231236.40547.caglar@pardus.org.tr>

On Sat, Sep 23, 2006 at 12:36:34PM +0300, S.Çağlar Onur wrote:
 > 23 Eyl 2006 Cts 02:13 tarihinde, Dave Jones şunları yazmıştı: 
 > > On Sat, Sep 23, 2006 at 01:45:16AM +0300, S.Çağlar Onur wrote:
 > >  > Hi;
 > >  >
 > >  > With kernel-2.6.18, "modprobe cpufreq_stats" always (i can reproduce)
 > >  > gaves following;
 > >  >
 > >  > ...
 > >  > Lukewarm IQ detected in hotplug locking
 > >  > BUG: warning at kernel/cpu.c:38/lock_cpu_hotplug()
 > >  >  [<b0134a42>] lock_cpu_hotplug+0x42/0x65
 > >  >  [<b02f8af1>] cpufreq_update_policy+0x25/0xad
 > >  >  [<b0358756>] kprobe_flush_task+0x18/0x40
 > >  >  [<b0355aab>] schedule+0x63f/0x68b
 > >  >  [<b01377c2>] __link_module+0x0/0x1f
 > >  >  [<b0119e7d>] __cond_resched+0x16/0x34
 > >  >  [<b03560bf>] cond_resched+0x26/0x31
 > >  >  [<b0355b0e>] wait_for_completion+0x17/0xb1
 > >  >  [<f965c547>] cpufreq_stat_cpu_callback+0x13/0x20 [cpufreq_stats]
 > >  >  [<f9670074>] cpufreq_stats_init+0x74/0x8b [cpufreq_stats]
 > >  >  [<b0137872>] sys_init_module+0x91/0x174
 > >  >  [<b0102c81>] sysenter_past_esp+0x56/0x79
 > >
 > > This should do the trick.
 > > I'll merge the same patch into cpufreq.git
 > 
 > What about cpufreq_stats_exit, it has same locking? Seems like rmmod may cause 
 > same problem or im totaly wrong?

The CPU_DEAD notifier doesn't take the lock, so it's safe.

	Dave

  reply	other threads:[~2006-09-23 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22 22:45 [BUG] warning at kernel/cpu.c:38/lock_cpu_hotplug() S.Çağlar Onur
2006-09-22 23:05 ` Dave Jones
2006-09-22 23:13 ` Dave Jones
2006-09-23  9:36   ` S.Çağlar Onur
2006-09-23 18:10     ` Dave Jones [this message]
2006-09-23  9:42   ` S.Çağlar Onur

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=20060923181058.GA23071@redhat.com \
    --to=davej@redhat.com \
    --cc=caglar@pardus.org.tr \
    --cc=linux-kernel@vger.kernel.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