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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 5 Jul 2007 17:00:51 -0700 From: Stephen Hemminger <shemminger@...ux-foundation.org> To: David Miller <davem@...emloft.net> Cc: netdev@...r.kernel.org Subject: Re: [RFC 2/2] shrink size of scatterlist on common i386/x86-64 On Thu, 05 Jul 2007 16:43:08 -0700 (PDT) David Miller <davem@...emloft.net> wrote: > From: Stephen Hemminger <shemminger@...ux-foundation.org> > Date: Thu, 05 Jul 2007 16:14:14 -0700 > > > The scatterlist only needs 16 bits for length/offset because > > PAGE_SIZE is 4K > > > > Signed-off-by: Stephen Hemminger <shemminger@...ux-foundation.org> > > Unfortunately I don't think this can be done, even on i386. > > It is legal to use order!=0 pages and multi-page areas in a single > scatterlist entry. > Okay, but then using SG lists makes skbuff's much bigger. fraglist scatterlist per skbuff 32 bit 8 20 +12 * 18 = +216! 64 bit 16 32 +16 * 18 = +288 So never mind... I'll do a fraglist to scatter list set of routines, but not sure if it's worth it. -- Stephen Hemminger <shemminger@...ux-foundation.org> - 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