Re: [PATCH] BUG(): sched.c: Line 944

Ingo Molnar
2002-09-17T15:42:52Z

ie. for the time being, something like:

--- linux/kernel/sched.c.orig Tue Sep 17 17:53:31 2002
+++ linux/kernel/sched.c Tue Sep 17 17:54:10 2002
@@ -940,8 +940,9 @@
struct list_head *queue;
int idx;

- if (unlikely(in_atomic()))
- BUG();
+ if (likely(current->state != TASK_ZOMBIE))
+ if (unlikely(in_atomic()))
+ BUG();

#if CONFIG_DEBUG_HIGHMEM
check_highmem_ptes();