Tag: linux_kernel
All the articles with the tag "linux_kernel".
-
Bypassing the Load Balancer Without Regrets - SoCC ’20
閱讀 SoCC '20 論文 CRAB,介紹其提出的繞過 Load Balancer 直連後端的新型 L4 負載均衡設計,並比較各種常見 LB 技術的優缺點。
-
Linux file descriptor 理解
深入 Linux file descriptor 的底層實作,從 task_struct、files_struct 到 fdtable,解析 fd 本質上只是陣列索引的設計原理。
-
從執行順序來探討 Race condition, go 語言的 happens-before 規則
從程式執行順序切入,說明 Race condition 的成因,並介紹 sequenced-before、happens-before、synchronized-with 等多執行緒同步的核心概念。
-
Concurrency vs Parallelism 淺談兩者區別以及名詞介紹
用暗殺教室與火影忍者的影分身之術,直觀解釋 Concurrency 與 Parallelism 的核心差異,並介紹 context switch、scheduler、preemptive 等重要名詞。
-
Linux schedule 原始碼解讀
追蹤 Linux kernel v4.14 排程器 schedule() 的原始碼,梳理從 preempt_disable 到 __schedule 的完整 context switch 執行流程。
-
Linux fork() 底層實作流程整理
從 fork() system call 出發,追蹤 Linux kernel v4.14 中 _do_fork() 的實作流程,理解 process 建立時 task_struct 的初始化細節。