IBM Interview Question
Software Engineer / DevelopersHI
Seems good... But I have one doubt like If I build(or Compile) kernel without kernel preemption. In that case ? What exactly I wants to ask.. this can be the only reason or there can be some thing else?
Inside spinlock implementation, first it disables kernel preemption only when ur kernel built with kernel preemption. (I Read).
Well a mutex may sleep and spinlock cannot, so u need to first do some magic to make a process trying to acquire a mutex not sleep and spin
- Manish July 23, 2012