Re: CK1 [09/13] slab: rename nodelists to node

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

 



On Fri, 28 Sep 2012, Glauber Costa wrote:

> >
> > -extern struct kmem_cache *cs_cachep[PAGE_SHIFT + MAX_ORDER];
> > -extern struct kmem_cache *cs_dmacachep[PAGE_SHIFT + MAX_ORDER];
> > -
> >
> >  void *kmem_cache_alloc(struct kmem_cache *, gfp_t);
> >  void *__kmalloc(size_t size, gfp_t flags);
> >
> > @@ -132,10 +129,10 @@ static __always_inline void *kmalloc(siz
> >
> >  #ifdef CONFIG_ZONE_DMA
> >  		if (flags & GFP_DMA)
> > -			cachep = cs_dmacachep[i];
> > +			cachep = kmalloc_dma_caches[i];
> >  		else
> You had just changed this to those new names in patch 7. Why don't you
> change it directly to kmalloc_{,dma}_caches ?

Right. This is also not really related to what this patch ought to do.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  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]