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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux