projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a2d80a
)
Documentation: update kernel stack for x86_64
author
晏艳(采苓)
<yanyan.yan@antgroup.com>
Tue, 28 Mar 2023 07:25:37 +0000
(15:25 +0800)
committer
Jonathan Corbet
<corbet@lwn.net>
Tue, 2 May 2023 16:59:47 +0000
(10:59 -0600)
Commit
6538b8ea886e
("x86_64: expand kernel stack to 16K")
expanded kernel stack for x86_64 but left the wrong documentation,
update it.
Signed-off-by: Yan Yan <yanyan.yan@antgroup.com>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
Link:
https://lore.kernel.org/r/20230328072537.20188-1-yanyan.yan@antgroup.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/arch/x86/kernel-stacks.rst
patch
|
blob
|
history
diff --git
a/Documentation/arch/x86/kernel-stacks.rst
b/Documentation/arch/x86/kernel-stacks.rst
index 6b0bcf027ff1eda7736ba0965a81a2ab614d86ab..738671a4070bafdd4592043ec49a7dc314e9d60e 100644
(file)
--- a/
Documentation/arch/x86/kernel-stacks.rst
+++ b/
Documentation/arch/x86/kernel-stacks.rst
@@
-12,7
+12,7
@@
Most of the text from Keith Owens, hacked by AK
x86_64 page size (PAGE_SIZE) is 4K.
Like all other architectures, x86_64 has a kernel stack for every
-active thread. These thread stacks are THREAD_SIZE (
2
*PAGE_SIZE) big.
+active thread. These thread stacks are THREAD_SIZE (
4
*PAGE_SIZE) big.
These stacks contain useful data as long as a thread is alive or a
zombie. While the thread is in user space the kernel stack is empty
except for the thread_info structure at the bottom.