Re: [PATCH V3 06/10] powerpc/mm: Remove redundant TASK_SIZE_USER64 checks
From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-02-22 00:18:00
From: Balbir Singh <bsingharora@gmail.com>
Date: 2017-02-22 00:18:00
On Sun, Feb 19, 2017 at 03:37:13PM +0530, Aneesh Kumar K.V wrote:
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 smaller task size is also removed here, because the follow up patch will support a tasksize smaller than pgtable range. Signed-off-by: Aneesh Kumar K.V <redacted> ---
Acked-by: Balbir Singh <bsingharora@gmail.com>