Re: [PATCH V5 04/17] powerpc/mm: Remove redundant TASK_SIZE_USER64 checks

2017-03-28 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > The check against VSID range is implied when we check task size against > hash and radix pgtable range[1], because we make sure page table range cannot > exceed vsid range. > > [1] BUILD_BUG_ON(TASK_SIZE_USER64 > H_PGTABLE_RANGE); > BUILD_BUG_ON(TASK_SIZE_USER64 > RAD

[PATCH V5 04/17] powerpc/mm: Remove redundant TASK_SIZE_USER64 checks

2017-03-21 Thread Aneesh Kumar K.V
The check against VSID range is implied when we check task size against hash and radix pgtable range[1], because we make sure page table range cannot exceed vsid range. [1] BUILD_BUG_ON(TASK_SIZE_USER64 > H_PGTABLE_RANGE); BUILD_BUG_ON(TASK_SIZE_USER64 > RADIX_PGTABLE_RANGE); The check for smalle