From: Samuel Ortiz Date: Tue, 16 Jan 2007 03:37:25 +0000 (-0800) Subject: [IrDA]: irda-usb TX path optimization (was Re: IrDA spams logfiles - since 2.6.19) X-Git-Tag: v2.6.20-rc6~5^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3958fb34ef18529c1e4a3eca44b7aaf94d4f4697;p=pandora-kernel.git [IrDA]: irda-usb TX path optimization (was Re: IrDA spams logfiles - since 2.6.19) Since we stop using dev_alloc_skb on the IrDA TX frame, we constantly run into the case of the skb headroom being 0, and thus we call skb_cow for every IrDA TX frame. This patch uses a local buffer and memcpy the skb to it, saving us a kmalloc for each of those IrDA TX frames. Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller --- Reading git-diff-tree failed