process address space

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

 



hi, all

One line I often read is each process is given a unique 32-bit or 64-bit flat address space, known as process address space.

So it sounds like a process have the whole space to itself and read or write as it wants, but it is not entirely true since before it can read or write, it must ask kernel for it, to get a so-called memory area (represented by vm_area_struct), is this understanding correct?


Another related question is when people talks about 1G/3G split, 1G is for kernel, 3G is for process, are they referring to the same process address space?

For each process's address space, in addition to its own code, data, shared library code and data etc. are there any kernel code in it? that doesn't make much sense.

Hope someone can help me to clarify the thoughts.

thanks

ruby






--
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