[Cbe-oss-dev] [PATCH] PowerPC/Cell: use vzalloc rather than	vmalloc and memset in spu_alloc_lscsa_std
    Arnd Bergmann 
    arnd at arndb.de
       
    Sun Oct 31 08:41:22 EST 2010
    
    
  
On Saturday 30 October 2010, Jesper Juhl wrote:
> We can get rid of a memset in 
> arch/powerpc/platforms/cell/spufs/lscsa_alloc.c::spu_alloc_lscsa_std() by 
> using vzalloc() rather than vmalloc()+memset().
> 
> Completely untested patch below since I have no hardware nor tools to 
> compile this.
> 
> 
> Signed-off-by: Jesper Juhl <jj at chaosbits.net>
Acked-by: Arnd Bergmann <arnd at arndb.de>
    
    
More information about the cbe-oss-dev
mailing list