Hi List,
I was going through the Unix process structure was checking
about the U Area in the kernel. Its mentioned that there is a specific
virtual address assigned to the U Area in each process and for kerne this
address is same.
I tried to check that address in the source but did not found
it.
Can any one inform me whats is the virtual address assigned for the U
Area for all the process?
There are differences in
Unix and Linux process structures. U-area structures were used in old
unix implementation where it was stored on secondary storage because
RAM was scarce. Later it was merged into main process structure as in
Linux. Someone please CMIIAW.
[Abhijit] So the U area is moved to
task_struct.Is it that still its accessed using a predetermined virtual
address?
It should be directly accessible as its part of task_struct
structure. All the members of u-area struct may have been added to
task_struct so you will not find anything like struct u_area in structure
task_struct. See include/linux/sched.h.
Also
see:
Thanks.
--
Abhijit.