Thread (16 messages) 16 messages, 7 authors, 2017-08-16

Re: [patch net-next 1/3] idr: Use unsigned long instead of int

flat view

From: Alexey Dobriyan <hidden>
Date: 2017-08-16 21:44:19
Also in: lkml

	[CC trimmed]

On Tue, Aug 15, 2017 at 10:12:16PM -0400, Chris Mi wrote:
IDR uses internally radix tree which uses unsigned long. It doesn't
makes sense to have index as signed value.
It doesn't. But it makes sense to use "unsigned int" because it
generates smaller code on x86_64.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help