[CRIU] [PATCH 4/8] x86: Add 32bit variant of TASK_SIZE

Cyrill Gorcunov gorcunov at gmail.com
Fri May 15 05:01:58 PDT 2015


On Fri, May 15, 2015 at 02:36:13PM +0300, Pavel Emelyanov wrote:
> > 
> > There are two limits for user space, depending on kernel
> > configuration: 0xc0000000 or 0xffffe000. 
> 
> O_o  Really??? Which config option controls this? I remember
> the so called 4g-split patches, which extended the userspace
> memory up to amost 4G, but AFAIK they never found their way
> into the mainstream kernel.

ARCH="i386" make nconfig

Processor type and features -->
  Memory split (3G/1G user/kernel split) -->

which modifies CONFIG_PAGE_OFFSET --> __PAGE_OFFSET -> PAGE_OFFSET -> TASK_SIZE

I guess even current 0xffffe000 might be not enough depending on
kernel config. It simply fit for my testing (ia32e mode) but
may be updated later.


More information about the CRIU mailing list