How shared memory are accessed if we have two processors trying to acquire the same region?
Submitted by: AdministratorSynchronization should be done to protect the data
corruption by simultaneous writes from two processes
running on two different processors.
Synchronization between two processors is best done with
the help of spinlocks.
When a process on one processor had locked the shared
memory the other process running on the second processor
shall be doing a busy spin until the first process released
the lock. This is the funda of Spin locks.
Submitted by: Administrator
corruption by simultaneous writes from two processes
running on two different processors.
Synchronization between two processors is best done with
the help of spinlocks.
When a process on one processor had locked the shared
memory the other process running on the second processor
shall be doing a busy spin until the first process released
the lock. This is the funda of Spin locks.
Submitted by: Administrator
Read Online Linux IPC Job Interview Questions And Answers
Top Linux IPC Questions
☺ | What are the IPC techniques? |
☺ | What are the Advantages and disadvantages of script vs compiled program? |
☺ | Which tool would you use to update Debian / Slackware / RedHat / Mandrake / SuSE? |
☺ | What is symbolic link in unix? |
☺ | Which Linux distros do you have experience with? |
Top Linux OS Categories
☺ | Device Drivers Interview Questions. |
☺ | Linux OS Management Interview Questions. |
☺ | Linux Makefile Interview Questions. |
☺ | Linux Environment Interview Questions. |
☺ | Linux OS Shell Interview Questions. |