From a5e1e9ad884c39598d1a96ccdb9ea8184bd00e2f Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Thu, 20 May 2010 08:25:52 -0400 Subject: [PATCH] Jiffies, scheduling and busy waiting. --- 08time/time | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 08time/time diff --git a/08time/time b/08time/time new file mode 100644 index 0000000..4aacea3 --- /dev/null +++ b/08time/time @@ -0,0 +1,40 @@ +%Time Management +%Thadeu Cascardo + +# Tickes, Jiffies + +* The timer ticks with a frequency, interrupting the system +* Necessary for preemptive scheduling, using a time slice +* Linux counts the number of ticks in the *jiffies* variable +* It's interrupted *HZ* times in a second + +# Busy waiting + +* time\\_after +* time\\_before +* cpu\\_relax +* udelay + +# Scheduling + +* schedule +* set\\_current\\_state +* TASK\\_INTERRUPTIBLE +* TASK\\_UNINTERRUPTIBLE +* TASK\\_RUNNING +* schedule\\_timeout +* schedule\\_timeout\\_interruptible +* msleep +* msleep\\_interruptible + +# Timers + +# Work queues + +# Delayed work + +# Tasklets + +# Wait queue + +# Completion -- 2.20.1