/Operating-System

[NYCU 2023 Fall] Operating System

Primary LanguageC

Operating-System

[NYCU 2023 Fall] Operating System

Professor: Chun-Feng Wu

You can see the Notion page for more details.

HW1: Adding Custom System Calls

Summary: This assignment requires you to compile the linux kernel from source and define custom system calls.

See more information here, propose an issue if you can't access it.

Notion Page: Link

HW2: Scheduling Policy Demonstration Program

Summary: This assignment requires you to write a c/c++ program that create several threads with specified scheduling policy. Observe how OS schedule these threads under SCHED_NORMAL and SCHED_FIFO policy.

See more information here

Notion Page: Link

Error Log: Part 2-2, 2-3 Error

HW3: System Information Fetching Kernel Module

Summary: In this assignment, you are going to implement a kernel module that fetches the system information from the kernel.

See more information here

It’s helpful to read through this book from chap. 1 to chap. 7. (about 1~2 hours)

After that, you should be able to understand the source code in GitHub.

You could skip some content that you have been already familiar with.

The Linux Kernel Module Programming Guide

Error Log: Wrong uptime, num_possible_cpus