https://github.com/torvalds/linux
Revision 3958fb34ef18529c1e4a3eca44b7aaf94d4f4697 authored by Samuel Ortiz on 16 January 2007, 03:37:25 UTC, committed by David S. Miller on 24 January 2007, 04:25:49 UTC
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 <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9d0f7d2
History
Tip revision: 3958fb34ef18529c1e4a3eca44b7aaf94d4f4697 authored by Samuel Ortiz on 16 January 2007, 03:37:25 UTC
[IrDA]: irda-usb TX path optimization (was Re: IrDA spams logfiles - since 2.6.19)
Tip revision: 3958fb3
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 80.1 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top