I wanted to know where the PCB ( Process Control Block ) is stored in memory in Linux OS.. When the interrupt happens or scheduler is called, context switching code will replace the current process PCB and put it some where and load the new process PCB into memory.
I totally agree it is stored in RAM. But what is the name of such area in RAM.
What is the difference between address space and PCB . Are both same.
site:stackoverflow.com linux process control block
– xmojmrtask_struct
s are allocated using the slab allocator. I would have to dive into the linux source code to find out more. sorry – xmojmr