PCB Location

Roshan Mehta
Neuling
Neuling
Beiträge: 7
Registriert: 16. Okt 2015 17:11

PCB Location

Beitrag von Roshan Mehta »

Where Process control block (PCB) is placed ? Stack/Heap or somewhere else ?
I feel it must be stored somewhere in protected space. Yes ? If not how it's protected from another process so that it should not be overwritten ?

pranay
Windoof-User
Windoof-User
Beiträge: 29
Registriert: 23. Okt 2014 15:33

Re: PCB Location

Beitrag von pranay »

I guess it is stored in stack.

ayushmaan_jain
Mausschubser
Mausschubser
Beiträge: 64
Registriert: 18. Okt 2014 11:11

Re: PCB Location

Beitrag von ayushmaan_jain »

Since PCB contains the critical information for the process, it must be kept in an area of memory protected from normal user access. In some operating systems the PCB is placed in the beginning of the kernel stack of the process since that is a convenient protected location.

https://en.wikipedia.org/wiki/Process_control_block

Antworten

Zurück zu „Archiv“