Synchronization
1) why spinlock? why can't only mutex
2) explain different synchronization constructs available under linux
3) did you used semaphore while coding? explain scenario
Scheduler
1) when a process is in infinite while loop? how scheduler will come to high priority process is waiting for scheduler
2) why copy_from_user() and copy_to_user() used ? why copy_to_user() user even though kernel could write at any user space?
3) Explain steps b/w process1 calls sleep and then wakes up, in below fig
4) what is cooperative scheduling and list adventages and disadventages
3) Explain steps b/w process1 calls sleep and then wakes up, in below fig
4) what is cooperative scheduling and list adventages and disadventages
Memory manager
1) how memory is allocated in Linux
2) Describe role of memory manager while executing program(i mean to run/execute a program written by user, what memory manager service will come into picture)
3) what are the data structures used to design memory manager in Linux
4) what are memory Zones ?
5) what is the difference between kmalloc and vmalloc
6) how kernel manage to allocate memory when running interrupts? will it able to allocate?
7) What memory barriers available @ Linux and why we need them
7) What memory barriers available @ Linux and why we need them
Unix system Programming
1) write a program to create orphan process
2) write a program to create a Zombie process
3) write algorithm to implement a shell
4) write a script to find types of files present in current directory
5) what is fork and vfork
6) what exec function will do, explain
7) what is shell? how it executes commands