Re: [PATCH net-next] drivers:net: dma_alloc_coherent: use__GFP_ZERO instead of memset(, 0)

From: David Miller
Date: Sun Mar 17 2013 - 12:51:06 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Fri, 15 Mar 2013 10:23:58 -0700

> Reduce the number of calls required to alloc
> a zeroed block of memory.
>
> Trivially reduces overall object size.
>
> Other changes around these removals
> o Neaten call argument alignment
> o Remove an unnecessary OOM message after dma_alloc_coherent failure
> o Remove unnecessary gfp_t stack variable
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Looks good, applied, thanks Joe.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/