On Tue, Oct 02, 2018 at 10:38:20AM -0400, Masayoshi Mizuma wrote:
> From: Pavel Tatashin <[email protected]>
> 
> When checking for valid pfns in zero_resv_unavail(), it is not necessary to
> verify that pfns within pageblock_nr_pages ranges are valid, only the first
> one needs to be checked. This is because memory for pages are allocated in
> contiguous chunks that contain pageblock_nr_pages struct pages.
> 
> Signed-off-by: Pavel Tatashin <[email protected]>
> Reviewed-by: Masayoshi Mizuma <[email protected]>
> Acked-by: Naoya Horiguchi <[email protected]>

Looks good to me 

Reviewed-by: Oscar Salvador <[email protected]>

Thanks
-- 
Oscar Salvador
SUSE L3

Reply via email to