Re: [PATCH 0/4] Improve virtio ID allocation

2018-10-30 Thread Matthew Wilcox
On Mon, Oct 29, 2018 at 10:53:39PM +0100, Gerd Hoffmann wrote: > On Wed, Sep 26, 2018 at 09:00:27AM -0700, Matthew Wilcox wrote: > > I noticed you were using IDRs where you could be using the more efficient > > IDAs, then while fixing that I noticed the lack of error handling, > > and I decided to

Re: [PATCH 0/4] Improve virtio ID allocation

2018-10-29 Thread Gerd Hoffmann
On Wed, Sep 26, 2018 at 09:00:27AM -0700, Matthew Wilcox wrote: > I noticed you were using IDRs where you could be using the more efficient > IDAs, then while fixing that I noticed the lack of error handling, > and I decided to follow that up with an efficiency improvement. > > There's probably a

[PATCH 0/4] Improve virtio ID allocation

2018-09-26 Thread Matthew Wilcox
I noticed you were using IDRs where you could be using the more efficient IDAs, then while fixing that I noticed the lack of error handling, and I decided to follow that up with an efficiency improvement. There's probably a v2 of this to follow because I couldn't figure out how to properly handle