On 06/08/2019 14:11, Jan Beulich wrote: > Prepare for the number of entries to not be the maximum possible, by > separating checks against maximum size from ones against actual size. > For caller side simplicity have alloc_intremap_entry() return the > maximum possible value upon allocation failure, rather than the first > just out-of-bounds one. > > Have the involved functions already take all the subsequently needed > arguments here already, to reduce code churn in the patch actually > making the allocation size dynamic. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel