Thread (23 messages) 23 messages, 3 authors, 2012-11-22

Re: [PATCH 4/7] netprio_cgroup: reimplement priomap expansion

From: Daniel Wagner <hidden>
Date: 2012-11-20 15:16:54
Also in: lkml, netdev

On 20.11.2012 16:13, Tejun Heo wrote:
Hello,

On Tue, Nov 20, 2012 at 04:09:22PM +0100, Daniel Wagner wrote:
quoted
Thanks for the explanation. I was pondering if the new size in power
of two could be a bit too excessive and the allocation step could be
linear, e.g. stick at 4096. target_id will increase linear,
therefore linear increase might also be enough, no?
Well, power-of-two resizing tends to behave relatively well under most
cases and slab allocations are binned by power-of-two sizes, so
linearly growing it doesn't really buy anything.
Convinced :)

Tested and Acked-by: Daniel Wagner [off-list ref]

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