Lines Matching full:preemption
56 * In order to do lockless preemption we use a simple state machine to progress
59 * PREEMPT_NONE - no preemption in progress. Next state START.
60 * PREEMPT_START - The trigger is evaulating if preemption is possible. Next
64 * PREEMPT_TRIGGERED: A preemption has been executed on the hardware. Next
66 * PREEMPT_FAULTED: A preemption timed out (never completed). This will trigger
68 * PREEMPT_PENDING: Preemption complete interrupt fired - the callback is
83 * CPU to store the state for preemption. The record itself is much larger
86 * There is a preemption record assigned per ringbuffer. When the CPU triggers a
87 * preemption, it fills out the record with the useful information (wptr, ring
89 * the preemption. When a ring is switched out, the CP will save the ringbuffer
118 /* Magic identifier for the preemption record */
123 * store the entire preemption record from the CP
128 * The preemption counter block is a storage area for the value of the
129 * preemption counters that are saved immediately before context switch. We
130 * append it on to the end of the allocation for the preemption record.