lkml.org 
[lkml]   [2002]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.5.34-mm2 kernel BUG at sched.c:944! only with CONFIG_PREEMPT=y
From
Date
On Thu, 2002-09-12 at 08:14, Steven Cole wrote:
> I got the following BUG at sched.c:944! with 2.5.34-mm2 and PREEMPT on.
> This was repeatable.
>
> With no PREEMPT, 2.5.34-mm2 booted and is running fine. Some other
> options used: SMP, HUGETLB_PAGE, HIGHPTE, HIGHMEM4G.

The above also occurred with no SMP.

I backed out Changeset 1.606 which did this in kernel/sched.c:

- if (unlikely(in_interrupt()))
+ if (unlikely(in_atomic()))
and 2.5.34-mm2 was able to boot with CONFIG_PREEMPT=y.

Obviously, this is not a fix of any kind, but shows that the scheduler
may be being called with a preemption lock.

Steven


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [from the cache]
©2003-2011 Jasper Spaans