[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
    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.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:28    [W:0.035 / U:2.064 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site