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.ku...@linux.vnet.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/be77e999e3937322b7e15274b8fc7d cheers