Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / mohan reddy.k.v

When a memory is shared by more than one process, it must
be protected from simultanious access from many process,
This is called sycronization.In Linux there are many
sycronization techniques such as sephores,spinlocks,
per-cpu , mutex, seqlocks,atomic variables,rcu etc.

Is This Answer Correct ?    22 Yes 0 No

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

Answer / vivek

here where the concept of semaphore comes in.

Is This Answer Correct ?    8 Yes 4 No

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

Answer / sridhar marampudi

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.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Linux IPC Interview Questions

What is ipc certified soldering?

0 Answers  


What ipc 304?

0 Answers  


How to Debugg Semaphores?

0 Answers  


Why do we have serial and parallel interface, which one was faster and why and when we should go for this interface.

4 Answers   NetApp,


What is Connection style?

0 Answers  


What are the Advantages and disadvantages of script vs compiled program?

2 Answers  


Explain Communication Between Parent and Child Processes?

0 Answers  


What are Local Sockets?

1 Answers   ACS, Xerox,


What is the difference between j std 001 and ipc a 610?

0 Answers  


What is ipc for pcb?

0 Answers  


What is Calling connect?

0 Answers  


What is Shared Access to a File?

0 Answers  


Categories