Reputation: 1501
Furthermore, if a user process link a shared lib, say, glib, libX, libY, libZ, then glib and libX, Y, Z have their individual vma structs for text, data, but still share the same stack w/ the user process, correct ?
Upvotes: 2
Views: 634
Reputation: 16441
Incorrect.
There's one kernel address space, and no kernel processes.
There are kernel threads, and there are user space threads that enter the kernel. These run in the kernel address space.
Each of these has a separate stack, within the kernel address space.
Upvotes: 1