Giant lock

Giant lock

In operating systems, giant lock, which is also known as big-lock or kernel-lock, is a lock which may be used to implement a concurrency control in the kernel, which is needed for SMP support.

It is an approach of single, global lock which is held when thread enters the kernel space, for example, after a system call, and released when thread returns to user space. While threads which are in the user space can run concurrently in the processors, only one thread can run in the kernel space, and threads in other processors which are going to enter the kernel space have to wait. This means that giant lock eliminates all concurrency in kernel space.

The main disadvantage of giant lock is that it eliminates the concurrency, thus decrease the performance on multiprocessor systems. However, the advantage of giant lock is that there is no need to modify many parts of the operating systems, thus it is easy to implement. Giant lock approach is mostly used by operating systems to implement an initial support for SMP. As an alternative to giant lock, most of the modern operating systems use fine-grained locking approach.

ee also

* Parallel computing
* Lock (computer science)


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Lock Martin — (* 22. Februar 1916 in Pennsylvania, USA; † 19. Januar 1959 in Los Angeles County, Kalifornien, USA; eigentlich Joseph Lockard Martin junior) war ein US amerikanischer Laienschauspieler. Lock Martin hatte einen Zwillingsbruder namens Donald, der… …   Deutsch Wikipedia

  • Giant Inverted Boomerang — An overview of Goliath, when it was at Six Flags Magic Mountain. Status In production Cost €20 …   Wikipedia

  • Lock Martin — (February 22, 1916 January 19, 1959) was the stage name of American actor Joseph Lockard Martin Jr. He was from Pennsylvania and had a series of odd jobs before going into acting. He was reportedly 7 foot 7 inches (about 231 cm) tall. If true,… …   Wikipedia

  • Giant hawkfish — Image of Cirrhitus rivulatus taken in the Galapagos Islands in 2005 Scientific classification Kingdom …   Wikipedia

  • Giant impact hypothesis — Big splash redirects here. For other uses, see Big Splash (disambiguation). Artist s depiction of the giant impact that is hypothesized to have formed the Moon The giant impact hypothesis proposes that the Moon was created out of the debris left… …   Wikipedia

  • Big Kernel Lock — Pour les articles homonymes, voir Verrou (homonymie). Le verrou global du noyau, en anglais Big Kernel Lock ou Giant Lock (littéralement le « verrou géant du noyau »), est un mécanisme qui permet de suspendre toutes les opérations du… …   Wikipédia en Français

  • Omega Lock — The Omega Lock (called the Chip Square in Galaxy Force ) is a device in the cartoon series that, along with the Cyber Planet Keys, is needed to stop the black hole which threatens to consume Cybertron and the entire universe. The Omega Lock was… …   Wikipedia

  • Édouard Lock — (born March 3, 1954 at Casablanca, Morocco ) is a Canadian dance choreographer and the founder of the Canadian dance group, La La La Human Steps.Édouard Lock immigrated to Canada as a young child, settling in Montreal with his parents. He studied …   Wikipedia

  • FreeBSD — welcome screen Company / developer The FreeBSD Project …   Wikipedia

  • DragonFly BSD — DragonFly redirects here. For other uses, see Dragonfly (disambiguation). DragonFly Company / developer Matthew Dillon OS family Unix like …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”