Re: [PATCH] mm: simplify get_next_ra_size

From: Gao Xiang
Date: Sun Oct 28 2018 - 03:14:17 EST


Hi Fengguang,

On 2018/10/28 14:27, Fengguang Wu wrote:
> LooksÂgoodÂtoÂme,Âthanks!
>
> Reviewed-by:ÂFengguangÂWuÂ<fengguang.wu@xxxxxxxxx>

Thanks for taking time and the quickly review. :)

Best regards,
Gao Xiang

>
> OnÂSun,ÂOctÂ28,Â2018ÂatÂ02:13:26PMÂ+0800,ÂGaoÂXiangÂwrote:
>> It'sÂaÂtrivialÂsimplificationÂforÂget_next_ra_sizeÂand
>> clearÂenoughÂforÂhumansÂtoÂunderstand.
>>
>> ItÂalsoÂfixesÂpotentialÂoverflowÂifÂra->size(<Âra_pages)ÂisÂtooÂlarge.
>>
>> Cc:ÂFengguangÂWuÂ<fengguang.wu@xxxxxxxxx>
>> Signed-off-by:ÂGaoÂXiangÂ<hsiangkao@xxxxxxx>
>> ---