Re: [PATCH 1/10] sysfs: fix kmem_cache_free(NULL)

Pekka J Enberg
2007-07-17T07:04:59Z

2007/7/17, Greg KH <gregkh@suse.de>:
> > Why not just allow kmem_cache_free() to allow NULL like other functions
> > in the kernel?

On Tue, 17 Jul 2007, Akinobu Mita wrote:
> It seems there was discussion about this and no conclusion
> yet?

IIRC the patch was rejected by relevant maintainers because it slows
down kmem_cache_free() which is presumably bad for some hot-paths...

Pekka