Issue
I am studying unix operating system. And I am having lot confusion regarding process data structure in unix.
1> Are there separate process tables per processes or only one that only kernel manipulate based currently active process.
2> Does file descriptor of process resides in its u-area?
Solution
There is only one process table, and each process have an entry in that table and it's called a PCB, the pcb contains most of the information related to the process , ID, owner, priority, the ppid, and it also contains information that were stocked in registers if the process is switched into blocked mode, and that's extremely important because all these information are going to be recharged when the process resumes executing.
Answered By - Rafik