diff options
| author | Samuel Ortiz <samuel@sortiz.org> | 2007-01-16 06:37:25 +0300 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2007-01-24 07:25:49 +0300 |
| commit | 3958fb34ef18529c1e4a3eca44b7aaf94d4f4697 (patch) | |
| tree | e7ed13bfae551ed43e530148293e889998768c35 /include | |
| parent | 9d0f7d29f38d4f7bf66d38d448a7d23e0bed9074 (diff) | |
| download | linux-3958fb34ef18529c1e4a3eca44b7aaf94d4f4697.tar.xz | |
[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 <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
