Skip to content

Commit 530421a

Browse files
yanyan0141Jonathan Corbet
authored andcommitted
Documentation: update kernel stack for x86_64
Commit 6538b8e ("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>
1 parent 4a2d80a commit 530421a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/arch/x86/kernel-stacks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Most of the text from Keith Owens, hacked by AK
1212
x86_64 page size (PAGE_SIZE) is 4K.
1313

1414
Like all other architectures, x86_64 has a kernel stack for every
15-
active thread. These thread stacks are THREAD_SIZE (2*PAGE_SIZE) big.
15+
active thread. These thread stacks are THREAD_SIZE (4*PAGE_SIZE) big.
1616
These stacks contain useful data as long as a thread is alive or a
1717
zombie. While the thread is in user space the kernel stack is empty
1818
except for the thread_info structure at the bottom.

0 commit comments

Comments
 (0)