On 8/31/20 6:46 PM, Wei Yang wrote:
> Function dequeue_huge_page_node_exact() iterates the free list and
> return the first valid free hpage.
> 
> Instead of break and check the loop variant, we could return in the loop
> directly. This could reduce some redundant check.
> 
> Signed-off-by: Wei Yang <[email protected]>

Thank you!

Reviewed-by: Mike Kravetz <[email protected]>

-- 
Mike Kravetz

Reply via email to