My physical memory is 4G and I'm using Android x86 which is 32bit, HIGHMEM4G is enabled. I want to enlarge vmalloc() space as much as possible.
As I tried, if changing to 2G/2G VMsplit and making VMALLOC_RESERVED bigger, vmalloc() space can hopefully reach 1G. But if I want to get bigger vmalloc(), e.g. 2G, is it possible?
Vmalloc() allocates from ZONE_HIGHMEM and ZONE_NORMAL. If I have enough physical memory, ZONE_HIGHMEM is big enough. Can it help to make vmalloc() above 2G? Or vmalloc() is constrained by its virtual space, so if kernel virtual space is 2G in total, vmalloc() absolutely cannot be larger than that?