Re: RT Scheduler - BUG_ON (idx >= MAX_RT_PRIO)

From: Sujit K M
Date: Mon Sep 07 2015 - 05:38:45 EST


On Mon, Sep 7, 2015 at 11:00 AM, Chinmay V S <cvs268@xxxxxxxxx> wrote:
> Hello everyone,
>
> TL;DR: In Linux RT scheduler, how can rt_nr_running be non-zero AND
> active-bitmap NOT have any valid bit set?
>
> Details:
> Recently i encountered the following BUG() within the realtime
> scheduler (sched_rt.c) on 3.1.10 kernel.
> [101640.492840] kernel BUG at kernel/sched_rt.c:1126!
>
> This turns out to be
> 1126 BUG_ON(idx >= MAX_RT_PRIO);

The reason for the stack trace is given below.
http://www.spinics.net/lists/newbies/msg08889.html





--
-- Sujit K M

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