| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <1295977653.3588.339.camel@edumazet-laptop> Date: Tue, 25 Jan 2011 18:47:33 +0100 From: Eric Dumazet <eric.dumazet@...il.com> To: Ben Greear <greearb@...delatech.com> Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org> Subject: Re: [PATCH net-next-2.6] pktgen: speedup fragmented skbs Le mardi 25 janvier 2011 à 09:22 -0800, Ben Greear a écrit : > On 01/25/2011 09:13 AM, Eric Dumazet wrote: > > We spend lot of time clearing pages in pktgen. > > (Or not clearing them on ipv6 and leaking kernel memory) > > > > Since we dont modify them, we can use one zeroed page, and get > > references on it. This page can use NUMA affinity as well. > > > > Define pktgen_finalize_skb() helper, used both in ipv4 and ipv6 > > Some devices, like vlans, can change the skb, but perhaps they > will not actually mess with the paged data? Yes, its absolutely forbidden to write on paged data. If necessary, a COW must be done. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists