Re: [S+Q Cleanup 6/6] slub: Move gfpflag masking out of the hotpath

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

 



On Tue, 17 Aug 2010, David Rientjes wrote:

> > +	gfpflags &= gfp_allowed_mask;
> >  	if (gfpflags & __GFP_WAIT)
> >  		local_irq_enable();
> >
>
> Couldn't this include the masking of __GFP_ZERO at the beginning of
> __slab_alloc()?

We could move it together but then the masking of GFP_ZERO has never done
anything and AFAICT is there because some people felt unsafe with the
masking already done nearer to the page alloc functions.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]