A. User-Mode Programs (Preemptible)
B. Bottom Half Interrupt Handlers
C. Top Half Interrupt Handlers
D. Kernel System Service Routines (Preemptible)
Choose the correct answer from the options given below:
In the Linux operating system, managing interrupts and different types of code execution requires a clear priority system. This ensures that critical tasks are handled promptly and that the system remains stable. Different components operate at various priority levels, determining when they can interrupt other processes or when they themselves can be interrupted.
Let's break down the components mentioned in the question and understand their roles and priorities in the Linux kernel:
To arrange these levels in increasing order of priority, we consider how the kernel manages execution contexts:
Based on the analysis, the interrupt protection levels arranged in increasing order of their priorities (from lowest to highest) are:
User-Mode Programs (A) $\rightarrow$ Kernel System Service Routines (D) $\rightarrow$ Bottom Half Interrupt Handlers (B) $\rightarrow$ Top Half Interrupt Handlers (C)
Therefore, the correct sequence is A $\rightarrow$ D $\rightarrow$ B $\rightarrow$ C.
Which of the following is/are the common services provided by an operating system?
Which of the following interprocess communication model is used to exchange messages among co-operative processes?
Match List I with List II:
| List I | List II | ||
| (A) | Least frequently used | (I) | Memory is distributed among processors |
| (B) | Critical Section | (II) | Page replacement policy in cache memory |
| (C) | Loosely coupled multiprocessor system | (III) | Program section that once begin must complete execution before another processor access the same shared resource |
| (D) | Distributed operating system organization | (IV) | O/S routines are distributed among available processors. |
Choose the correct answer from the options given below:
At a particular time of computation, the value of a counting semaphore is 7. Then 20 P(wait) operations and 15 V(signal) operations are completed on this semaphore. What is the resulting value of the semaphore?
A counting semaphore is initialized to 8. 3 wait() operations and 4 signal() operations are applied. Find the current value of semaphore variable.