task switching and current pointer implemenation question

Julie Sullivan kernelmail.jms at gmail.com
Sun Dec 11 14:04:51 EST 2011


> actually I was thinking there will be only one stack
> in kernel space which will be shared
> by all apps.

I'm not surprised, I remember being really confused about this too
when I was reading Robert Love's book because Robert seemed to be
implying this was the case. It took me ages to work out that he meant
each thread gets its _own_ stack.

Dave's explanation is the clearest I've seen. Thanks, Dave.

Cheers
Julie



More information about the Kernelnewbies mailing list