Re: linux 32bit kernel virtual space , lowmem , highmem , RAM size

From: Michal Hocko
Date: Mon Sep 23 2019 - 10:50:40 EST


On Wed 11-09-19 19:46:46, yoav rubin wrote:
> Apologize in advance if I'm sending this to the wrong place. (It's my
> first time using mailing list...)
>
>
> I need some help understanding the exact relations between the linux
> kernel virtual space , specifically LOWMEM area , and the available
> RAM size as seen by the kernel.

Read through https://www.kernel.org/doc/gorman/

[...]
> For this question I'm ignoring the HIGHMEM area since its not exists
> in my system (turned it off by menuconfig).
[...]
> I know that I'm missing something here because there is no way its true.

If you disable highmem then all the 32b kernel can with is lowmem and
that is defined by the split (1/3 low/high).

--
Michal Hocko
SUSE Labs