On Tue, 03 Jun 2008 13:27:56 +1000 Greg Banks <gnb@xxxxxxxxxxxxxxxxx> wrote: > Jeff Layton wrote: > > On Mon, 02 Jun 2008 00:51:50 -0500 > > Greg Banks <gnb@xxxxxxxxxxxxxxxxx> wrote: > > > > > > I'm certainly no VM expert either, but where are you seeing the > > kmalloc + memset? The only definition I see is the inlined function > > in slab.h which is: > > > > static inline void *kzalloc(size_t size, gfp_t flags) > > > > > Sorry, I was looking in the wrong tree (sles10 not tot). Nevermind :-) > No worries... :-) I went back and walked through the slab and slub code and it looks like simply setting __GFP_ZERO on the allocation will do the right thing. I'll plan to push the patchset today sometime. Thanks, -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html