Re: [PATCH] remove redundant NULL pointer checks prior to calling kfree() in fs/nfsd/

From: Pekka Enberg
Date: Sun Mar 27 2005 - 09:01:52 EST


On Fri, 25 Mar 2005 17:34:29 -0500 (EST), linux-os
<linux-os@xxxxxxxxxxxx> wrote:
> You really should reconsider this activity. It is quite counter-productive.

No it's not. NULL is checked twice without Jesper's cleanups. If
kfree() calls are really that performance sensitive, just make it
inline and GCC will take care of it.

Pekka
-
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/