Xref: utzoo comp.unix.questions:23896 comp.unix.wizards:22950 Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!alias!mark From: mark@alias.uucp (Mark Andrews) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Meaning of fields in 4.3BSD PCB structure Message-ID: <1990Jul18.194158.13785@alias.uucp> Date: 18 Jul 90 19:41:58 GMT Reply-To: mark@alias.UUCP (Mark Andrews) Distribution: na Organization: Alias Research Inc., Toronto, Canada Lines: 38 In the Process Control block for VAX 4.[23]BSD, there is a software extension: /* * Software pcb (extension) */ int pcb_szpt; /* number of pages of user page table */ int pcb_cmap2; int *pcb_sswap; int pcb_sigc[5]; What are all these fields for? I realize that CMAP2 (pte in system page table) is saved in the `pcb_cmap2' field of 1 pcb and restored from the pcb of another process during a context switch, but why? The BSD book mentions that the `pcb_cmap2' field is used when dealing with segments, but does not go into any further detail. Thanks, Mark ------------------------------------------------------------------------------ Mark Andrews Systems Programmer, Alias Research, Toronto, Canada Phone: (416)-362-9181 Mail box: mark%alias@csri.utoronto.ca Please address info to the address given above. Our mail sometimes screws up by having part of the address stripped. Thanks Mark -- ------------------------------------------------------------------------------ Mark Andrews Systems Programmer, Alias Research,