[PATCH 0/3] [RFC] knfsd: convert to kthread API and remove signaling for shutdown

Jeff Layton jlayton at redhat.com
Tue Jun 3 06:51:00 EDT 2008


On Tue, 03 Jun 2008 13:27:56 +1000
Greg Banks <gnb at melbourne.sgi.com> wrote:

> Jeff Layton wrote:
> > On Mon, 02 Jun 2008 00:51:50 -0500
> > Greg Banks <gnb at melbourne.sgi.com> 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 at redhat.com>


More information about the NFSv4 mailing list