lkml.org 
[lkml]   [2017]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch net-next 1/3] idr: Use unsigned long instead of int
	[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.

\
 
 \ /
  Last update: 2017-08-16 23:45    [W:0.015 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site