From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Date: Sun, 17 Mar 2013 12:50:42 -0400 (EDT) Subject: [PATCH net-next] drivers:net: dma_alloc_coherent: use __GFP_ZERO instead of memset(, 0) In-Reply-To: References: Message-ID: <20130317.125042.778916600527811234.davem@davemloft.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: joe@perches.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, e1000-devel@lists.sourceforge.net, linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, users@rt2x00.serialmonkey.com From: Joe Perches 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 Looks good, applied, thanks Joe.