Chapter 4 - DSpace at Waseda University
Chapter 4 - DSpace at Waseda University
Chapter 4 - DSpace at Waseda University
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Chapter</strong> 2<br />
� To count time accur<strong>at</strong>ely.<br />
� To manage the deadline<br />
The Linux kernel makes timer function oper<strong>at</strong>e by using timer interrupts periodically.<br />
Especially, the function to manage the time limit is useful. For instance, it is effective to use<br />
in re-sending for networks, re-executing for non-responded devices, polling process for the<br />
device which cannot make interruption.<br />
There are mainly two types of Linux timer.<br />
� Global timer<br />
� To manage system time.<br />
� To make interrupt periodically.<br />
� Alarm function.<br />
� CPU local timer<br />
� To execute for certain CPU.<br />
� To occur in each CPU periodically.<br />
� Acknowledge the interrupt on local APIC.<br />
In Figure 2.3, it is the sequence to execute local timer interruption. Generally, if a local timer<br />
interrupt occurs then a local timer soft interrupt are executed. If the local timer interrupt<br />
occurs the interrupt handler is executed. And then, the local timer soft interrupt occurred and<br />
soft interrupt hander is running.<br />
18