[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190426.120020.238401846986367341.davem@davemloft.net>
Date: Fri, 26 Apr 2019 12:00:20 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: marcel@...tmann.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] genetlink: use idr_alloc_cyclic for family->id
assignment
From: Marcel Holtmann <marcel@...tmann.org>
Date: Wed, 24 Apr 2019 22:18:53 +0200
> When allocating the next family->id it makes more sense to use
> idr_alloc_cyclic to avoid re-using a previously used family->id as much
> as possible.
>
> Signed-off-by: Marcel Holtmann <marcel@...tmann.org>
Applied, thanks Marcel.
Powered by blists - more mailing lists