linux process stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: ratheesh.ksz@xxxxxxxxx ratheesh k
To: linux-newbie@xxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux