Skip to contentSkip to conversation

top stack (l)users for 2.5.69

DISCUSSION Chuck Ebbert 1 participant 1 message May 7, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

Every time you switch to kernel mode either by
calling the kernel or by a hardware interrupt, the kernel's stack is used.

Almost correct: it's _a_ kernel stack, not _the_ kernel stack.

The load_esp0() function changes this on every task switch on
i386. If there were only one kernel stack then there would be no need to ever do that...