linux process stack

ratheesh k <[email protected]>
Newsgroups gmane.linux.newbie
Message-ID <[email protected]>
From: [email protected] ratheesh k
To: [email protected]
Date: Sat, 15 May 2010 14:41:09 +0530
Subject: linux process stack

All ,

I am beginner . Please see below my dobts

1. All process and kenel thread has their own task_struct  structure
and kernel mode stack . Kernel itself maintain its own stack .


2 .Whenever a process ,say A , switch to kernel ( on system call )
,registers will be stored in its own kernel mode stack ?


3 . On interrupt , process  A  's process  context will be saved on
process A 's own kernel mode stack ?c


4 .Kernel thread will also use its  own kenel mode stack on interrupt  ?


5 .Where is the SP ( stack pointer ) is saved  ?  How it it retrieved back ?


Thanks,
Ratheesh
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.