Interviewer And Interviewee Guide

Linux IPC Interview Question:

How shared memory are accessed if we have two processors trying to acquire the same region?

Submitted by: Administrator
Synchronization 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

Read Online Linux IPC Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.