> TASK_SIZE is the size of a native, that is 64-bit process in our case.
> We only need to consider the size of a 32-bit process for
> TASK_UNMAPPED_BASE which we do already.
We are probably ages away from when TASK_SIZE will be a problem,
but get_unmapped_area() will return success for 32 bit programs
when it really should not, in certain cases. Tweaking TASK_UNMAPPED_BASE
itself is not enough.
I think the Sparc guys take care of this, in their HAVE_ARCH_UNMAPPED_AREA
get_unmapped_area() declaration. We do not need such a heavyweight
solution though, certainly not soon.