Re: Changing Kernel 3g / 1g memory split

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 08 Oct 2009, at 4:38 AM, Rick Brown wrote:

Hi,

1) As far as I understand the 3G / 1G split of the kernel is in
virtual address space, and the Highmem / lowmem concept is in physical
address space. So I just want to know that if I change the memory
split (from 3g/1g to 2g/2g), then will my ZONE_NORMAL also be expanded
to be (896M + 1G)?

I'm not sure, but I think so.


2) Are there any disadvantages (other than the user applications
having to limit themselves to 2G of memory) of increasing the memory
split to 2G?

Note the userspace limit is for virtual memory, so includes all memory mappings too, i.e. not just malloc() but mmap() too.


3) And finally, in order to complete this change and to ensure my
applications are awrae of it and are doing the needful to restrict
themselves in only 2G, do I also need to make changes in the glibc or
the gcc?

No, you don't need changes to glibc or gcc.

Note also that none of the above is a factor on 64bit Linux, its only an issue on 32bit Linux.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux