I am just curious to know whether the Kernel stack could be empty when a process is swapped out to a disk or not?
1 Answer
First of all: What is a process is swapped out to a disk? process is never swapped out, pages are.
Also: Kernel stack of a process is always empty when the process is not in kernel state.