context switch?
terence_at_ms71.url.com.tw
Date: 07/14/04
- Previous message: Steve Houle: "Matrox G550 with DualHead under Fedora Core 2"
- Next in thread: mjt: "Re: context switch?"
- Reply: mjt: "Re: context switch?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Jul 2004 06:25:26 -0700
Hi all:
I have a following question can anyone please help me.
When CPU context switches between processes, the system must save
the state of the old process and load the saved state for the new
process.
(1)So, during context switch, which contexts of the process must be
saved?
The operating system maintains a data structure known as a process
control block. In Linux this is a struct task_struct.
(2)What method could I use if I am trying to copy a task_struct of the
process?
Would anyone point me to any helpful hint ?
Thanks in advance
Terence
- Previous message: Steve Houle: "Matrox G550 with DualHead under Fedora Core 2"
- Next in thread: mjt: "Re: context switch?"
- Reply: mjt: "Re: context switch?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]