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
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 12 Jan 2021 09:54:04 +0000
From:   Edward Cree <>
To:     Alexander Lobakin <>,
        "David S. Miller" <>,
        Jakub Kicinski <>
Cc:     Eric Dumazet <>,
        Edward Cree <>,
        Jonathan Lemon <>,
        Willem de Bruijn <>,
        Miaohe Lin <>,
        Steffen Klassert <>,
        Guillaume Nault <>,
        Yadu Kishore <>,
        Al Viro <>,,
Subject: Re: [PATCH net-next 0/5] skbuff: introduce skbuff_heads bulking and

Without wishing to weigh in on whether this caching is a good idea...
Wouldn't it be simpler, rather than having two separate "alloc" and "flush"
 caches, to have a single larger cache, such that whenever it becomes full
 we bulk flush the top half, and when it's empty we bulk alloc the bottom
 half?  That should mean fewer branches, fewer instructions etc. than
 having to decide which cache to act upon every time.


Powered by blists - more mailing lists