@@ -110,7 +110,7 @@ Bulk of the code is in:
110
110
`kernel/fork.c <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/fork.c> `.
111
111
112
112
stack_vm_area pointer in task_struct keeps track of the virtually allocated
113
- stack and a non-null stack_vm_area pointer serves as a indication that the
113
+ stack and a non-null stack_vm_area pointer serves as an indication that the
114
114
virtually mapped kernel stacks are enabled.
115
115
116
116
::
@@ -120,8 +120,8 @@ virtually mapped kernel stacks are enabled.
120
120
Stack overflow handling
121
121
-----------------------
122
122
123
- Leading and trailing guard pages help detect stack overflows. When stack
124
- overflows into the guard pages, handlers have to be careful not overflow
123
+ Leading and trailing guard pages help detect stack overflows. When the stack
124
+ overflows into the guard pages, handlers have to be careful not to overflow
125
125
the stack again. When handlers are called, it is likely that very little
126
126
stack space is left.
127
127
@@ -148,6 +148,6 @@ Conclusions
148
148
- THREAD_INFO_IN_TASK gets rid of arch-specific thread_info entirely and
149
149
simply embed the thread_info (containing only flags) and 'int cpu' into
150
150
task_struct.
151
- - The thread stack can be free'ed as soon as the task is dead (without
151
+ - The thread stack can be freed as soon as the task is dead (without
152
152
waiting for RCU) and then, if vmapped stacks are in use, cache the
153
153
entire stack for reuse on the same cpu.
0 commit comments