On Wed, Sep 10, 2014 at 06:53:56PM +0300, Dan Carpenter wrote: > On Wed, Sep 10, 2014 at 05:28:11PM +0200, Jiri Kosina wrote: > > > > Too late for this now, yes. > > We could still introduce a __kfree_fast_path() which doesn't have > checking.
Well, there certainly is precedence for that sort of thing. There is a bunch of code which uses __brelse(bh) instead of brelse(bh) when the caller is sure that bh is a valid non-NULL pointer. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/