aboutsummaryrefslogtreecommitdiff
path: root/net/appletalk
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>2009-08-06 21:56:44 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-12 20:44:49 -0700
commitb91cd1440870f7a0649e570498b7b93caf9f781c (patch)
tree75173bd366c65c734c537f21aea4ea382259a1dd /net/appletalk
parent5da63cc4b2258e1c06ee41637492717481025143 (diff)
f_phonet: use page-sized rather than MTU-sized RX buffers
Instead of a large (physically) linear buffer, we generate a set of paged sk_buff, so no extra memory copy is involved. This removes high-order allocations and saves quite a bit of memory. Phonet MTU is 65541 bytes, so the two buffers were padded to 128 kilo-bytes each. Now, we create 17 page buffers, almost a 75% memory use reduction. Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions