On Tue, 03 Jun 2008 13:27:56 +1000
Greg Banks <gnb-cP1dWloDopni96+mSzHFpQC/[email protected]> wrote:
> Jeff Layton wrote:
> > On Mon, 02 Jun 2008 00:51:50 -0500
> > Greg Banks <gnb-cP1dWloDopni96+mSzHFpQC/[email protected]> 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 <[email protected]>