Re: [BUG] 2.5.68-mm2 and list.h

Andrew Morton (akpm@digeo.com)
Wed, 30 Apr 2003 23:31:43 -0700


Alexander Hoogerhuis <alexh@ihatent.com> wrote:
>
> kernel BUG at include/linux/list.h:140!
> Call Trace:
> [<c019e462>] devfs_d_revalidate_wait+0x181/0x18d

Yes. Apparently, devfs has some programming flaws.

For now, please just delete the new debug tests in
include/linux/list.h:list_del():

#include <linux/kernel.h> /* BUG_ON */
static inline void list_del(struct list_head *entry)
{
BUG_ON(entry->prev->next != entry);
BUG_ON(entry->next->prev != entry);
__list_del(entry->prev, entry->next);
}

Those BUG_ON's.
-
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/