954,234 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Number of stacks kernel maintains

how many stacks does the kernel maintain/keep track of...say if there are 12 kernel threads and around 50 user processes??

Santi1986
Newbie Poster
9 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

Each process, user thread, and kernel thread should have its own stack. The kernel will switch between them as necessary and context changes require.

rubberman
Posting Virtuoso
1,559 posts since Mar 2010
Reputation Points: 277
Solved Threads: 178
 
Each process, user thread, and kernel thread should have its own stack. The kernel will switch between them as necessary and context changes require.


yup i knew bout this...but i had my doubts bout the processes... whether the kernel maintains...individual stacks from the kernel's perspective...

Santi1986
Newbie Poster
9 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 
yup i knew bout this...but i had my doubts bout the processes... whether the kernel maintains...individual stacks from the kernel's perspective...


From what I read, this is the case, that the kernel maintains these structures.

rubberman
Posting Virtuoso
1,559 posts since Mar 2010
Reputation Points: 277
Solved Threads: 178
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: