gary7102

@gary7102

Joined on Sep 23, 2024

  • <font size = 4>2024 Fall NCU Linux OS Project 1</font> Add a system call that get physical addresses from virtual addresses 介紹 copy_from_user 及 copy_to_user 使用方法 使用Copy on Write 機制來驗證system call 正確呼叫 介紹 Demand Paging 在 memory 中的使用時機 Demo問題可參考這篇,github <font size = 4>Environment</font>
     Like  Bookmark
  • 1. Volatile 的作用 2. static 關鍵字特性 3. schedule() 做甚麼? 舉一個演算法 4. pthread_join() 的作用 5. wait_queue需要用甚麼保護 6. 為什麼要void* private有甚麼好處 7. wake_up()函式後在run queue會是甚麼state
     Like  Bookmark
  • <font size = 4>2024 Fall NCU Linux OS Project 2</font> Implement a custom wait queue-like functionality in kernel space. Allowing user applications to operate through the system call. Add a thread to the wait queue to wait. Remove threads from the wait queue, allowing them exit in FIFO order Link : Project2.pdf , github , hackmd , DEMO <font size = 4>Environment</font> OS: Ubuntu 22.04 on VMware workstation 17
     Like  Bookmark
  • 1. Nx bit、privilege權限... 在哪一層page table使用到? 2. 使用 virtual address的優缺點 3. virtual address 和physical address的差異? 4. page frame是甚麼? 5. system call 是甚麼? 6. copy_from_user()和copy_to_user()是甚麼? 怎麼運作的? 7. page fault 甚麼時候會發生 8. process & thread 差異 1. fork() 再kernel裡是用甚麼system call
     Like  Bookmark