Messages in this thread |  | | Subject | Re: [PATCH] kernel BUG at sched.c:944! only with CONFIG_PREEMPT=y] | From | Robert Love <> | Date | 13 Sep 2002 03:40:25 -0400 |
| |
On Fri, 2002-09-13 at 03:36, Robert Love wrote:
> - if (unlikely(in_atomic())) > - BUG(); > + if (unlikely(in_atomic() && preempt_count() != PREEMPT_ACTIVE)) { > + printk(KERN_ERROR "schedule() called while non-atomic!\n"); > + show_stack(NULL); > + }
Actually, looking at this again, we probably want to still BUG() if in_interrupt() but _not_ if in_atomic().
Robert Love
- 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/
|  |