Re: Why can OS kernel only use maximum 2GB memory?



Liang Yang wrote:
Hi,

For a 32 bit OS running on a 32bit IA processor, why is 2GB the maximum memory used by OS kernel while application process can use more than 2GB memory? Which factor decide this limitation?

Thanks,

Liang

Crap run time libraries using signed integers for memory management and stuff like that. Apart from this there is no such limitation. As far as NT based OS-s you can override the default 2GB limitation by using a startup command line switch (that I am too lazy to look up for you) which would provide a 3GB address space to applications. The remaining 1GB of address space is reserved for the OS. This is not an IA32 architectural thing but rather merely an OS design decision.

.



Relevant Pages

  • Re: Question about Virtual memory limitations in WinCE
    ... The 512 limitation is a limitation of statically mapped addresses in the ... Addresses needed by the kernel, which would include RAM and ROM are ... You are calling this memory, but it is addresses, which includes addresses ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Why can OS kernel only use maximum 2GB memory?
    ... maximum memory used by OS kernel while application process can ... use more than 2GB memory? ... This is the kernel issue of process mapping. ... The 4+4 nonshared configuration tends to be slower (since the kernel ...
    (comp.lang.asm.x86)
  • Re: DMA during Standby Mode on the AT91RM9200?
    ... you are working at Atmel? ... The AT91RM9200 seems to be a very low power device so it is not really ... Does this limitation also concern the SDRAM memory? ...
    (comp.sys.arm)
  • Re: Why can OS kernel only use maximum 2GB memory?
    ... memory used by OS kernel while application process can use more than 2GB ... Which factor decide this limitation? ... This is what Mac OS X does, both on Intel and on PowerPC. ...
    (comp.lang.asm.x86)
  • Re: Time is what we measure with a clock.
    ... It takes a finite exchange of chemicals for all perceptors to reach ... the brain where they form a frame in memory. ... There are three causes of time: existence, limitation, and consistency. ... necessarily include some number of these minimum units of change and so ...
    (talk.origins)