Home
last modified time | relevance | path

Searched refs:preempt_count (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dpreempt.h14 ++(current_pcb->preempt_count);\
24 --(current_pcb->preempt_count);\
Dpreempt.rs6 current_pcb().preempt_count += 1; in preempt_disable()
12 current_pcb().preempt_count -= 1; in preempt_enable()
Dproc-types.h84 int32_t preempt_count; // 持有的自旋锁的数量 member
Dprocess.c57 ….state = PROC_UNINTERRUPTIBLE, .flags = PF_KTHREAD, .preempt_count = 0, .signal = 0, .cpu_id = 0, …
352 initial_proc_union.pcb.preempt_count = 0; in process_init()
Dfork.c76 tsk->preempt_count = 0; in do_fork()
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs196 let prev_count = current_pcb().preempt_count; in do_softirq()
199 if unlikely(prev_count != current_pcb().preempt_count) { in do_softirq()
204 current_pcb().preempt_count in do_softirq()
206 current_pcb().preempt_count = prev_count; in do_softirq()
/DragonOS-0.1.8/kernel/src/smp/
Dsmp.c147 kdebug("init proc's preempt_count=%ld", current_pcb->preempt_count); in smp_init()
195 current_pcb->preempt_count = 0; in smp_ap_start()
/DragonOS-0.1.8/kernel/src/
Dmain.c130 current_pcb->preempt_count = 0; in system_initialize()
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.6.md51 - textui: 修复由于textui加锁,更改了preempt_count导致“进程长时间连续输出字符”的情况下,进程调度器不运行的问题。 (#203)
299 修复由于textui加锁,更改了preempt_count导致“进程长时间连续输出字符”的情况下,进程调度器不运行的问题。 (#203)
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic.c468 if (current_pcb->preempt_count > 0) in do_IRQ()
470 else if (current_pcb->preempt_count < 0) in do_IRQ()
/DragonOS-0.1.8/kernel/src/filesystem/procfs/
Dmod.rs162 &mut format!("\npreempt:\t{}", pcb.preempt_count) in open_status()