powerpc/mm/radix: Use mm->task_size for boundary checking instead of addr_limit
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Apr 20 08:04:20 AEST 2017
On Thu, 2017-04-13 at 19:18:21 UTC, "Aneesh Kumar K.V" wrote:
> We don't init addr_limit correctly for 32 bit applications. So default to using
> mm->task_size for boundary condition checking. We use addr_limit to only control
> free space search. This makes sure that we do the right thing with 32 bit
> applications.
>
> We should consolidate the usage of TASK_SIZE/mm->task_size and
> mm->context.addr_limit later.
>
> Partially reverts: fbfef9027c2a7ad (powerpc/mm: Switch some TASK_SIZE checks to use
> mm_context addr_limit)
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/be77e999e3937322b7e15274b8fc7d
cheers
More information about the Linuxppc-dev
mailing list