Role of the OS

Similar Posts

  • A System Model for Deadlocks

    A resource allocation graph shows the current allocation of resources to processes and the current requests by processes for new resources. Processes are represented by circles. Resources are represented by rectangles. Small circles designate multiple units within a resource. Resource allocations are represented by edges directed from a resource to a process. Resource requests are represented by…

  • Files

    Files present a way to store persistent data (that is data that doesn’t go away when a computer is either intentionally, or unintentionally, turned off). Older systems relied on tape, then magnetic disks, and now solid state media. A file system is used by the OS to manager and track the files on the media….

  • Deadlock Detection

    A deadlock in a resource allocation graph can be detected by executing a graph reduction algorithm by repeating this process: Select an unblocked process p. Remove p, including all request and allocation edges connected to p. Anything left is blocked, and risks deadlock. However, it is considered completely reducible if there are no processes left…

  • The Implementation of Semaphores

    Most contemporary computer architectures offer hardware support for process synchronization in the form of specialized machine instructions. The test-and-set instruction (TS) copies a variable into a register and sets the variable to zero in one indivisible machine cycle. Test-and-set has the form TS(R, x) where R is a register and x is a memory location and performs…

  • Security Goals and Threats

    Computer security is the freedom from theft of or damage to hardware, software, or information, and from disruption or misdirection of services. Protection is the set of mechanisms and policies that guarantee computer security, including the confidentiality, integrity, availability, and authenticity of all data and services. Common types of compromised computer security Information disclosure Information modification Information…