2 項進行中

115-1 選課時程

進行中

  • 初選第一階段 6/15 – 6/18
  • 初選第二階段 6/22 – 6/25
  • 校際選修 進行中 8/24 – 9/18
  • 初選第三階段 8/31 – 9/3
  • 開學後加退選 進行中 9/7 – 9/21
  • 逾期加退選 9/21 – 9/24
選課資源

加入行事曆

選擇訂閱 Google Calendar,或下載通用的 ICS 檔案。

使用 Google Calendar 時,Google 會收到這份課表的公開連結。

Linux作業系統核心

Linux Operating System

學期
111-1
學分
0 學分
當期課號
555603
永久課號
CSCM30014
開課單位
國防資安管理碩士在職專班
授課教師
許富皓
校區
北門
類別
選修
上課時間表
週三
A
18:30–19:20
Linux作業系統核心
TA506(北門)
3 節連堂
B
19:30–20:20
C
20:30–21:20

* 根據陽明交大上課時間表所列

概述

了解Linux kernel的address translation system、user address space、 kernel address space、process/thread 的觀念、process descriptor的功用與架構、Linked list的實作方式、Run queue、scheduler及Wait queue 的架構及用法,process switch 的運作方式,由 user address space 進入 kernel address space的system call的機制,及 light weight 的虛擬化機制 name space,讓學生能修改Linux kernel,增加 Linux kernel 功能。

先修科目

Operation System, C language,Linux shell command

備註

無備註

教學方式

(1) 兩名助教 (2) 投影機 (3) 麥克風

評分方式

若疫情獲得控制可實體上課: 一個學期專題 (50%),期末考(50%)。 若疫情嚴峻無法實體上課: 兩個學期專題 (各50%)。

課程大綱
  • Address Translation

    (1) Meaning of Addresses (2) Address Types (3) Segmentation Unit (4) Paging Unit

  • Process

    (1) Process concept (2) Executable file 功能 (3) Structure、usage、properties of process descriptor (4) Kernel mode stack (5) Linux linked list

  • Schedule

    (1) Process states (2) Run queue (3) scheduler

  • Name space

    (1) Concept of name space (2) Name space related structures (3) PID name space

  • Wait queue

    (1) Process sleep (2) Process wakeup (3) Wait queue

  • Process switch

    (1) Execution flow of process switches (2) Data flow of process switcher

  • System call

    (1) Wrap routine (2) Parameter passing (3) System call dispatch table (4) System call calling convention (5) System call service routine

  • Introduction

    (1) X86/X64 CPU (2) user address space (3) kernel address space

週次計畫
週次主題
第 1 週

Syllabus

9/14
第 2 週

Introduction

9/21
第 3 週

Memory Addressing: Segmentation Unit

9/28
第 4 週

Memory Addressing: Segmentation Unit,Paging Unit

10/5
第 5 週

Memory Addressing: Paging Unit

10/12
第 6 週

Memory Addressing: Cache, Paging in Linux, BIOS, and Physical Memory Layout

10/19
第 7 週

Memory Addressing: Kernel Master Page Global Directory

10/26
第 8 週

Process: Process Descriptor and Linked List

11/2
第 9 週

Project Demo Time, no lecture

11/9
第 10 週

Scheduler, and Run Queue

11/16
第 11 週

Name Space

11/23
第 12 週

Name Space

11/30
第 13 週

Name Space

12/7
第 14 週

Wait Queue

12/14
第 15 週

Wait Queue

12/21
第 16 週

“Project Demo Time, no lecture” or Final Exam.

12/28
教科書

自行製作。

Office Hours
地點
教室
時間
每星期下課後
聯絡方式
hsufh@csie.ncu.edu.tw