1
votes

In x86_64, Linux, does the kernel have its own stack, other than kernel threads' stacks?

And does it have something called kernel process like FreeBSD has?

1
What do you mean "kernel have its own stack other than kernel threads"? Roughly speaking a set of kernel threads and uspace processes in system mode is a kernel. So what is your question about?Alex Hoppus

1 Answers

0
votes

As per my knowledge, kernel has a seperate stack for IRQ & per process/thread stack for handling system calls. I don't think there is any other stack needed. Kernel code is executed either in process context or interrupt context so there are seperate stacks for both.