On 2018-08-24 03:32 AM, Christian König wrote: > The roundup to a power of two here is not 100% correct, but I don't > think it will hurt us much. > > For now the patch is Reviewed-by: Christian König > <christian.koenig at amd.com>. Thanks. Do you mind elaborating on what's not 100% correct here? Maybe do the min(..., max_size) after roundup_pow_of_two? Regards,  Felix