Prevent race conditions in kernel code for a uni-processor

Assignment Help Basic Computer Science
Reference no: EM13696132

In early Unix kernels the approach used to avoid race conditions in kernel code was to use a combination of the following two techniques: (i) non- preemptive scheduling of threads when they are running in privileged mode and (ii) interrupt disabling for those short sections of kernel code that manipulate data used by interrupt handlers.
(a) Explain how and why these techniques, when used together, are sufficient to prevent race conditions in kernel code for a uni-processor operating system.
(b) Explain why it is insufficient to use one or other technique in isolation. (c) Explain why the approach of using them together is still not sufficient for a shared memory multi-processor operating system, and describe a technique that would solve the problem in a shared memory multi- processor operating system.

Reference no: EM13696132

Questions Cloud

Discuss how current or potential employers : From the e-Activity, discuss how current or potential employers might be able to use the information you found and possible steps that could be taken to help ensure your privacy. Provide specific examples to support your response.
Summarize by outlining the sequence of operations : Explain how an operating system can temporarily pass control of the CPU over to user code without risking an indefinite loss of control. Discuss the roles of timer interrupts, privileged mode operation, and memory protection and explain why all of..
The game of nim is played with a collection of piles of stic : The game of Nim is played with a collection of piles of sticks. In one move a player may remove any nonzero number of sticks from a single pile. The players alternately take turns making moves. The player who removes the very last stick loses. Say..
Describe how concepts such as risc : In this six pages research paper, you will investigate the evolution of and current trends in improving system performance with concepts such as RISC, pipelining, cache memory, and virtual memory. In this paper you must, as part of your conclus..
Prevent race conditions in kernel code for a uni-processor : In early Unix kernels the approach used to avoid race conditions in kernel code was to use a combination of the following two techniques: (i) non- preemptive scheduling of threads when they are running in privileged mode and (ii) interrupt disabli..
Perform dynamic address translation : Perform dynamic address translation
Computer forensics examiner get involved with, and how : Other than the two basic types of computer crimes above, what non-computer crimes might a computer forensics examiner get involved with, and how?
The convergence of different devices such as cameras : Think about how mobile our computing devices have become and the convergence of different devices such as cameras, phones, and computers. What do you think the computer of the future will be like? What capabilities will it have that computers ..
The southern tiny college to develop student registration : You have been employed by the Southern Tiny College to develop Student Registration System. To understand the functions of Registrar Office, you have spent some time talking to various personnel in the Registrar Office and also you've examined ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd