Question: c) On a running Linux kernel (version> 2.6) at some point the thread_info.preempt_count field for a kernel task we call A is equal to 2.

c) On a running Linux kernel (version> 2.6) at some point the thread_info.preempt_count field for a kernel task we call A is equal to 2. (Linux kernel synchronization is discussed in the textbook) Answer these questions: c1) Is task A currently preemptable? Explain c2) What is new value of thread_info.preempt_count field for task A after it acquires a new lock ? Explain. be safely interruptible ? c3) What is the condition for kernel task A to c4) Assuming that all locks held by task A are spinlocks, how many CPUs are on that computer? c) On a running Linux kernel (version> 2.6) at some point the thread_info.preempt_count field for a kernel task we call A is equal to 2. (Linux kernel synchronization is discussed in the textbook) Answer these questions: c1) Is task A currently preemptable? Explain c2) What is new value of thread_info.preempt_count field for task A after it acquires a new lock ? Explain. be safely interruptible ? c3) What is the condition for kernel task A to c4) Assuming that all locks held by task A are spinlocks, how many CPUs are on that computer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
