summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-ds1553.c
diff options
context:
space:
mode:
authorJarek Poplawski2009-02-01 09:41:42 +0100
committerDavid S. Miller2009-02-01 09:41:42 +0100
commit4fb669948116d928ae44262ab7743732c574630d (patch)
tree0be7481f6339fe4cb32faf4047f15f7cc962babc /drivers/rtc/rtc-ds1553.c
parentsmsc911x: allow mac address to be saved before device reset (diff)
downloadkernel-qcow2-linux-4fb669948116d928ae44262ab7743732c574630d.tar.gz
kernel-qcow2-linux-4fb669948116d928ae44262ab7743732c574630d.tar.xz
kernel-qcow2-linux-4fb669948116d928ae44262ab7743732c574630d.zip
net: Optimize memory usage when splicing from sockets.
The recent fix of data corruption when splicing from sockets uses memory very inefficiently allocating a new page to copy each chunk of linear part of skb. This patch uses the same page until it's full (almost) by caching the page in sk_sndmsg_page field. With changes from David S. Miller <davem@davemloft.net> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions