Re: Cosmetic bugs?

Steve Dodd (
Tue, 21 Sep 1999 00:23:30 +0100

On Mon, Sep 20, 1999 at 06:43:36PM +0100, ULISES ALONSO CAMARO wrote:

> kmem_cache_create is called by there is no check in what they return, that
> is, they do not panic() if they can't create cache entry, wich seems to me
> wrong

AFAICS, there's no way to recover in that situation, so not much point in
checking the return code. Anything that tries to access the cache ptr will
oops cleanly and give a backtrace. Hopefully it should be an "almost
never happens" situation anyway.

When in doubt, use brute force.
                -- Ken Thompson

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at