Re: kernel BUG at mm/slab.c:1488! (2.6.13.2)

From: Andrew Morton
Date: Fri Oct 28 2005 - 05:56:20 EST


Davi Arnaut <davi.lkml@xxxxxxxxx> wrote:
>
> How about really fixing kmem_cache_* to use the proper return conventions ?
> In this case it should have returned ERR_PTR(-EEXIST);

A NULL return on failure is fine - what would we do with the additional
info anyway? Not anything which justifies updating the >200 callsites, I
suspect.
-
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/