lkml.org 
[lkml]   [2008]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: next-0704: WARNING: at kernel/sched.c:4254 add_preempt_count; PANIC

* Alexander Beregalov <a.beregalov@gmail.com> wrote:

> Hi
>
> WARNING: at kernel/sched.c:4254 add_preempt_count+0x61/0x63()
> Modules linked in: i2c_nforce2
> Pid: 3620, comm: rtorrent Not tainted 2.6.26-rc8-next-20080704 #5

this warning is what triggers:

#ifdef CONFIG_DEBUG_PREEMPT
/*
* Underflow?
*/
if (DEBUG_LOCKS_WARN_ON((preempt_count() < 0)))
return;

i.e. preempt counter underflow. That can happen either due to unbalanced
preempt_disable()/preempt_enable() pairs, or can happen due to stack
overflow/corruption.

Ingo


\
 
 \ /
  Last update: 2008-07-07 08:37    [W:0.172 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site