Re: [PATCH 2/2] ARM: ux500: Enable HIGHMEM in the u8540 defconfig

From: Lee Jones
Date: Mon Jun 03 2013 - 04:21:31 EST


On Fri, 31 May 2013, Arnd Bergmann wrote:

> On Friday 31 May 2013 16:18:50 Lee Jones wrote:
> > On Fri, 31 May 2013, Arnd Bergmann wrote:
> >
> > > On Friday 31 May 2013 15:24:32 Lee Jones wrote:
> > > > In order to utilise all of the memory located on ux500 based devices
> > > > we have to enable HIGHMEM. Without it the kernel truncates memory down
> > > > to what's left after the PAGE_OFFSET has been applied, which doesn't
> > > > leave an awful lot, especially if we're running large rootfs' such
> > > > as full Linux desktop distributions or Android.
> > > >
> > > > Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> > >
> > > How much memory do those devices have? Enabling HIGHMEM is quite expensive.
> >
> > Another 1GB.
>
> You mean you have 2GB total or 1.75GB? You could just use

We have 2GB in total.

> CONFIG_VMSPLIT_2G to an extra GB compared to the default, which
> is what vexpress, imx and s5p already do, but you still have to
> put the vmalloc area in the low 2GB then.

Isn't this for 4GB systems?

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/