|
54 | 54 | \item \emph{(User) stack} \dots{} local non-static variables, function |
55 | 55 | parameters (on certain architectures in certain modes - e.g. 32-bit x86), return |
56 | 56 | addresses. Each process has 2 stacks -- one for a user mode and another for |
57 | | -kernel mode. The~user stack automatically grows according to its use (except |
58 | | -for threads where each thread has its own limited stack). |
| 57 | +kernel mode. The~user stack automatically grows according to its use, |
| 58 | +up to some limit (for threads where each thread has its own stack the limit |
| 59 | +is usually smaller). See \example{pmap/stack-overflow.c}. |
59 | 60 | \item \emph{User area (u-area)} \dots{} contains process information used by |
60 | 61 | the kernel which is not needed when the process is swapped out to disk |
61 | 62 | (number of open files, signal handling settings, number of shared memory segments, |
|
0 commit comments