* Why do we reserve 8 bytes on top of the boot time stack?
@ 2016-01-29 13:00 Alexnader Kuleshov
0 siblings, 0 replies; only message in thread
From: Alexnader Kuleshov @ 2016-01-29 13:00 UTC (permalink / raw)
To: linux-kernel
Hello,
We reserve top 8 bytes of the boot stack in the arch/x86/kernel/head_64.S:
GLOBAL(stack_start)
.quad init_thread_union+THREAD_SIZE-8
So, the question is in subject. Why? I've found definition of the
TOP_OF_KERNEL_STACK_PADDING macro arch/x86/include/asm/thread_info.h,
but it is zero for the x86_64.
Thank you.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-29 13:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 13:00 Why do we reserve 8 bytes on top of the boot time stack? Alexnader Kuleshov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox