Home
last modified time | relevance | path

Searched refs:preempted (Results 1 – 25 of 50) sorted by relevance

12

/linux/arch/powerpc/lib/
H A Dqspinlock.c289 bool preempted = false; in __yield_to_locked_owner() local
308 preempted = true; in __yield_to_locked_owner()
328 return preempted; in __yield_to_locked_owner()
334 return preempted; in __yield_to_locked_owner()
380 bool preempted = false; in yield_to_prev() local
408 preempted = yield_to_locked_owner(lock, val, paravirt); in yield_to_prev()
409 if (preempted) in yield_to_prev()
410 return preempted; in yield_to_prev()
425 preempted = true; in yield_to_prev()
433 return preempted; in yield_to_prev()
[all …]
/linux/Documentation/translations/zh_CN/mm/
H A Dmmu_notifier.rst64 CPU-thread-0 {preempted}
65 CPU-thread-1 {preempted}
71 CPU-thread-0 {preempted}
72 CPU-thread-1 {preempted}
78 CPU-thread-0 {preempted}
85 CPU-thread-0 {preempted}
/linux/Documentation/mm/
H A Dmmu_notifier.rst60 CPU-thread-0 {preempted}
61 CPU-thread-1 {preempted}
67 CPU-thread-0 {preempted}
68 CPU-thread-1 {preempted}
74 CPU-thread-0 {preempted}
81 CPU-thread-0 {preempted}
96 is true even if the thread doing the page table update is preempted right after
/linux/tools/testing/selftests/kvm/
H A Dsteal_time.c42 GUEST_ASSERT_EQ(READ_ONCE(st->preempted), 0); in check_status()
90 ksft_print_msg(" preempted: %d\n", st->preempted); in steal_time_dump()
249 u8 preempted; member
270 GUEST_ASSERT(READ_ONCE(st->preempted) == 0); in check_status()
325 pr_info(" preempted: %d\n", st->preempted); in steal_time_dump()
377 __u8 preempted; member
385 GUEST_ASSERT_EQ(READ_ONCE(st->preempted), 0); in check_status()
460 ksft_print_msg(" preempted in steal_time_dump()
[all...]
/linux/Documentation/scheduler/
H A Dsched-preemption.rst10 preempted by the scheduler, whichever model is selected.
27 may be preempted at any time.
54 can always be preempted; a task executing in kernel space can only be
55 preempted where it is safe to do so, and how that is decided is what
69 whether it may be preempted and schedules once the request can be
/linux/tools/sched_ext/
H A Dscx_pair.bpf.c559 bool preempted; in BPF_PROG() local
572 preempted = pairc->preempted_mask & in_pair_mask; in BPF_PROG()
575 release = !preempted && prev->pid && !pair_task_is_highpri(prev); in BPF_PROG()
580 acquire = preempted; in BPF_PROG()
/linux/arch/loongarch/include/asm/
H A Dqspinlock.h51 __val = !!(READ_ONCE(src->preempted) & KVM_VCPU_PREEMPTED); \
H A Dkvm_host.h266 u8 preempted; in readl_sw_gcsr()
259 u8 preempted; global() member
/linux/Documentation/locking/
H A Dpreempt-locking.rst29 /* task is preempted here... */
33 require it otherwise. Second, when a preempted task is finally rescheduled,
48 if the kernel is executing a floating-point instruction and is then preempted.
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf.c57 struct list_head preempted; member
329 INIT_LIST_HEAD(&ctx->preempted); in vmw_cmdbuf_ctx_init()
410 list_add_tail(&entry->list, &ctx->preempted); in vmw_cmdbuf_ctx_process()
598 list_splice_init(&ctx->preempted, restart_head[i].prev); in vmw_cmdbuf_work_func()
643 (check_preempted && !list_empty(&ctx->preempted))) in vmw_cmdbuf_man_idle()
/linux/arch/x86/include/uapi/asm/
H A Dkvm_para.h66 __u8 preempted; member
/linux/Documentation/userspace-api/media/v4l/
H A Dapp-pri.rst15 working in background, which can be preempted by user controlled
H A Dvidioc-streamon.rst82 Applications can be preempted for unknown periods right before
/linux/arch/arc/kernel/
H A Dentry-arcv2.S203 ; Exception in U mode, preempted in kernel, Intr taken (K mode), orig
230 ; entry was via Exception in DS which got preempted in kernel).
/linux/drivers/gpu/drm/i915/gvt/
H A Dexeclist.h102 u32 preempted :1; member
/linux/arch/x86/kernel/
H A Dkvm.c708 state = READ_ONCE(src->preempted); in kvm_flush_tlb_multi()
710 if (try_cmpxchg(&src->preempted, &state, in kvm_flush_tlb_multi()
832 return !!(src->preempted & KVM_VCPU_PREEMPTED); in __kvm_vcpu_is_preempted()
/linux/arch/loongarch/kvm/
H A Dvcpu.c177 unsafe_put_user(0, &st->preempted, out); in kvm_update_stolen_time()
178 vcpu->arch.st.preempted = 0; in kvm_update_stolen_time()
1807 /* vCPU may be preempted for many times */ in kvm_vcpu_set_pv_preempted()
1808 if (vcpu->arch.st.preempted) in kvm_vcpu_set_pv_preempted()
1826 unsafe_put_user(KVM_VCPU_PREEMPTED, &st->preempted, out); in kvm_vcpu_set_pv_preempted()
1827 vcpu->arch.st.preempted = KVM_VCPU_PREEMPTED; in kvm_vcpu_set_pv_preempted()
1837 if (vcpu->preempted && kvm_guest_has_pv_feature(vcpu, KVM_FEATURE_PREEMPT)) { in kvm_arch_vcpu_put()
/linux/arch/mips/kernel/
H A Dunaligned.c463 unsigned int wd, preempted; in emulate_load_store_insn() local
496 preempted = test_thread_flag(TIF_USEDMSA); in emulate_load_store_insn()
512 preempted = 0; in emulate_load_store_insn()
515 } while (preempted); in emulate_load_store_insn()
/linux/Documentation/virt/kvm/x86/
H A Dmsr.rst271 __u8 preempted;
300 preempted:
302 not. Non-zero values mean the vCPU has been preempted. Zero
303 means the vCPU is not preempted. NOTE, it is always zero if the
H A Dhypercalls.rst166 :Purpose: Hypercall used to yield if the IPI target vCPU is preempted
171 any of the IPI target vCPUs was preempted.
H A Dcpuid.rst122 preempted for an unlimited time
/linux/Documentation/trace/
H A Dring-buffer-design.rst88 <preempted> writer2 start
89 <preempted> writer3 start
94 This is very much like a writer being preempted by an interrupt and
102 and can be preempted by a writer.
307 preempted another write is committed, it only becomes a pending commit
691 by the outermost writer (the writer that was preempted).
/linux/arch/x86/kvm/vmx/
H A Dposted_intr.c233 * If the vCPU is blocking with IRQs enabled and ISN'T being preempted, in vmx_vcpu_pi_put()
236 * is preempted between setting its wait state and manually scheduling in vmx_vcpu_pi_put()
244 if (!vcpu->preempted && kvm_vcpu_is_blocking(vcpu) && in vmx_vcpu_pi_put()
/linux/Documentation/gpu/
H A Ddrm-compute.rst12 not to be preempted or swapped out at all.
/linux/kernel/rcu/
H A DKconfig244 This option boosts the priority of preempted RCU readers that
259 a given grace period before priority-boosting preempted RCU
303 but (1) the kthreads may be preempted between each callback,

12