Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 a 600?

0 Answers  


What are Wait and Post Operations?

0 Answers  


What is ipc 620 standard?

0 Answers  


Which tool would you use to update Debian / Slackware / RedHat / Mandrake / SuSE ?

2 Answers  


How many types of ipc mechanism do you know?

0 Answers  






What is the use of FIFOs?

0 Answers  


What are the Uses of mmap?

0 Answers  


What is ipc in linux?

0 Answers  


What is ipc name?

0 Answers  


What ipc means?

0 Answers  


Explain Communication Between Parent and Child Processes?

0 Answers  


What is ipc 610 620?

0 Answers  






Categories