Thread (21 messages) 21 messages, 5 authors, 2021-01-13

Re: [PATCH net-next 0/5] skbuff: introduce skbuff_heads bulking and reusing

flat view

From: Edward Cree <ecree.xilinx@gmail.com>
Date: 2021-01-12 09:55:01
Also in: lkml

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.

-ed
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help