Re: 2.5.31: modules don't work at all

Skip Ford
2002-08-13T01:18:22Z

Andrew Morton wrote:
>
> (Untested, uncompiled code)

More information. With your patch I hit the BUG in kmem_cache_create
at slab.c line 673:

[inside kmem_cache_create]

/*
* Sanity checks... these are all serious usage bugs.
*/
if ((!name) ||
in_interrupt() ||
(size < BYTES_PER_WORD) ||
(size > (1<<MAX_OBJ_ORDER)*PAGE_SIZE) ||
(dtor && !ctor) ||
(offset < 0 || offset > size))
BUG();
--
Skip