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
> Signed-off-by: Yisheng Xie
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
> Signed-off-by: Yisheng Xie
Acked-by: David Rientjes
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
Signed-off-by: Yisheng Xie
---
mm/mempolicy.c | 2 --
1 file changed, 2 deletions(-)
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
Signed-off-by: Yisheng Xie
---
mm/mempolicy.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mm/mempolicy.c
4 matches
Mail list logo