From: Rémi Denis-Courmont Date: Thu, 6 Aug 2009 21:56:44 +0000 (+0000) Subject: f_phonet: use page-sized rather than MTU-sized RX buffers X-Git-Tag: v2.6.32-rc1~703^2~445 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91cd1440870f7a0649e570498b7b93caf9f781c;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed