Re: [PATCH] likely cleanup: remove unlikely for kfree(NULL)

From: Nick Piggin
Date: Wed Apr 26 2006 - 13:10:48 EST


Pekka J Enberg wrote:

On Wed, 26 Apr 2006, Arjan van de Ven wrote:

if you deref'd the pointer it'll optimize it away (assuming a new enough
gcc, like 4.1)


Here are the numbers for allyesconfig on my setup.

25k out of 25,000k isn't _too_ bad.

On my kernel that should be less than 5k (unless drivers/fses
have a very different ratio of size change versus core code).

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
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/