Cc: Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-mm@...>, <netdev@...>, <trond.myklebust@...>, Daniel Lezcano <dlezcano@...>, Neil Brown <neilb@...>, <mpm@...>, <cl@...>
Hi Peter,
On Thu, 2008-07-24 at 16:00 +0200, Peter Zijlstra wrote:
Hmm, I'm not sure I like the use of __kmalloc_track_caller() (even
though you do add the wrappers for SLUB). The functions really are SLAB
internals so I'd prefer to see kmalloc_reserve() moved to the
allocators.
This function could use some comments...
Why do we discharge here?
If the allocation fails, we try again (but nothing has changed, right?).
Why?
Why don't we discharge from the reserve here if !obj?
I don't see 'emerg' used anywhere.
We're trying to get rid of kfree() so I'd __kfree_reserve() could to
mm/sl?b.c. Matt, thoughts?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html