--- title: Linux kernel 常見問題整理 description: --- # Linux kernel 常見問題整理 ###### tags: `Interview` ## Process vs Thread ## Interrupt ## Synchronization 設計一個作業系統,讓作業系統在操作shared data的時候,不會產生race condition prevent unsafe concurrency and avoid race condition * Race condition * Deadlock * Atomic Operation * per_cpu variable * Memory barrier * Spin_lock vs Semaphore vs Mutex * Spin_lock * Semaphore * Mutex ## Memory