Locking and Synchronization 1. On a uniprocessor machine with preemption disabled, what will happen internally when we say spin_lock()? Answer: Hog the CPU 2. Can I lock a spinlock in one CPU and unlock it another CPU? Answer: No it should be on same CPU as that preemption is disabled for that core and spinlock which locked the core need to disable the preemption and go out of that core only 3. What are the pros and cons of using per CPU variable as synchronization method? https://www.makelinux.net/ldd3/chp-8-sect-5.shtml https://0xax.gitbook.io/linux-insides/summary/concepts/linux-cpu-1 https://distkeys.com/operating%20systems/linux/2013/10/07/process-synchronization-in-linux-kernel.html 4. What is the maximum amount of time CPU can be in critical section after acquiring spinlock? https://coffeebeforearch.github.io/2020/11/07/spinlocks-6.html it could remain in critical section till we don't do spinlock_unlock or another core hit watchdog bite (300ms) . Ideally critical section ti...