Re: [PATCH v3 1/3] mm/mempolicy: remove redundant check in get_nodes

From: David Rientjes
Date: Mon Nov 20 2017 - 17:24:29 EST


On Fri, 17 Nov 2017, Yisheng Xie wrote:

> We have already checked whether maxnode is a page worth of bits, by:
> maxnode > PAGE_SIZE*BITS_PER_BYTE
>
> So no need to check it once more.
>
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
> Signed-off-by: Yisheng Xie <xieyisheng1@xxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>