* [PATCH] docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page
@ 2024-09-06 20:49 Dennis Lam
2024-09-06 21:23 ` Randy Dunlap
2024-09-10 21:31 ` Jonathan Corbet
0 siblings, 2 replies; 3+ messages in thread
From: Dennis Lam @ 2024-09-06 20:49 UTC (permalink / raw)
To: corbet, nir, rdunlap; +Cc: Dennis Lam, linux-doc, linux-kernel
Signed-off-by: Dennis Lam <dennis.lamerice@gmail.com>
---
Documentation/mm/vmalloced-kernel-stacks.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/mm/vmalloced-kernel-stacks.rst b/Documentation/mm/vmalloced-kernel-stacks.rst
index 4edca515bfd7..5bc0f7ceea89 100644
--- a/Documentation/mm/vmalloced-kernel-stacks.rst
+++ b/Documentation/mm/vmalloced-kernel-stacks.rst
@@ -110,7 +110,7 @@ Bulk of the code is in:
`kernel/fork.c <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/fork.c>`.
stack_vm_area pointer in task_struct keeps track of the virtually allocated
-stack and a non-null stack_vm_area pointer serves as a indication that the
+stack and a non-null stack_vm_area pointer serves as an indication that the
virtually mapped kernel stacks are enabled.
::
@@ -120,8 +120,8 @@ virtually mapped kernel stacks are enabled.
Stack overflow handling
-----------------------
-Leading and trailing guard pages help detect stack overflows. When stack
-overflows into the guard pages, handlers have to be careful not overflow
+Leading and trailing guard pages help detect stack overflows. When the stack
+overflows into the guard pages, handlers have to be careful not to overflow
the stack again. When handlers are called, it is likely that very little
stack space is left.
@@ -148,6 +148,6 @@ Conclusions
- THREAD_INFO_IN_TASK gets rid of arch-specific thread_info entirely and
simply embed the thread_info (containing only flags) and 'int cpu' into
task_struct.
-- The thread stack can be free'ed as soon as the task is dead (without
+- The thread stack can be freed as soon as the task is dead (without
waiting for RCU) and then, if vmapped stacks are in use, cache the
entire stack for reuse on the same cpu.
--
2.46.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page
2024-09-06 20:49 [PATCH] docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page Dennis Lam
@ 2024-09-06 21:23 ` Randy Dunlap
2024-09-10 21:31 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2024-09-06 21:23 UTC (permalink / raw)
To: Dennis Lam, corbet, nir; +Cc: linux-doc, linux-kernel
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
On September 6, 2024 1:49:13 PM PDT, Dennis Lam <dennis.lamerice@gmail.com> wrote:
>Signed-off-by: Dennis Lam <dennis.lamerice@gmail.com>
>---
> Documentation/mm/vmalloced-kernel-stacks.rst | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page
2024-09-06 20:49 [PATCH] docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page Dennis Lam
2024-09-06 21:23 ` Randy Dunlap
@ 2024-09-10 21:31 ` Jonathan Corbet
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2024-09-10 21:31 UTC (permalink / raw)
To: Dennis Lam, nir, rdunlap; +Cc: Dennis Lam, linux-doc, linux-kernel
Dennis Lam <dennis.lamerice@gmail.com> writes:
> Signed-off-by: Dennis Lam <dennis.lamerice@gmail.com>
> ---
> Documentation/mm/vmalloced-kernel-stacks.rst | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-10 21:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06 20:49 [PATCH] docs:mm: fixed spelling and grammar mistakes on vmalloc kernel stack page Dennis Lam
2024-09-06 21:23 ` Randy Dunlap
2024-09-10 21:31 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®