Re: [RFC PATCH 0/4] MultiFD zero-copy improvements

2022-10-25 Thread Peter Xu
On Tue, Oct 25, 2022 at 01:47:27AM -0300, Leonardo Bras wrote: > It all works fine in my tests, but maybe I missed some cornercase. > Please provide any feedback you find fit. Personally I very much like the whole series. :) I just want to make sure it won't start to fail users when switching to

[RFC PATCH 0/4] MultiFD zero-copy improvements

2022-10-24 Thread Leonardo Bras
RFC for an improvement suggested by Juan during the KVM Forum and a few optimizations I found in the way. Patch #1 is just moving code to a helper, should have no impact. Patch #2 is my implementation of Juan's suggestion. I implemented the simplest way I thought on the array size: a fixed