| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | preempt.h | 12 return READ_ONCE(current_thread_info()->preempt.count); in preempt_count() 18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set() 31 current_thread_info()->preempt.need_resched = 0; in set_preempt_need_resched() 36 current_thread_info()->preempt.need_resched = 1; in clear_preempt_need_resched() 41 return !current_thread_info()->preempt.need_resched; in test_preempt_need_resched() 46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() 48 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add() 53 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub() 55 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub() 64 WRITE_ONCE(ti->preempt.count, --pc); in __preempt_count_dec_and_test()
|
| H A D | thread_info.h | 42 } preempt; member
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/ftrace/test.d/preemptirq/ |
| H A D | irqsoff_tracer.tc | 36 modprobe $MOD test_mode=preempt delay=500000 || fail 38 modprobe $MOD test_mode=preempt delay=500000 || fail 40 modprobe $MOD test_mode=preempt delay=500000 || fail
|
| /OK3568_Linux_fs/kernel/Documentation/locking/ |
| H A D | preempt-locking.rst | 53 Note, some FPU functions are already explicitly preempt safe. For example, 77 preempt_enable() decrement the preempt counter 78 preempt_disable() increment the preempt counter 79 preempt_enable_no_resched() decrement, but do not immediately preempt 81 preempt_count() return the preempt counter 85 call to preempt_enable. The preempt statements define to nothing if 94 a reschedule if the preempt count is 0. A simple printk() might trigger a 121 This code is not preempt-safe, but see how easily we can fix it by simply
|
| H A D | index.rst | 20 preempt-locking
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/adreno/ |
| H A D | a5xx_preempt.c | 136 a5xx_gpu->preempt[ring->id]->wptr = get_wptr(ring); in a5xx_preempt_trigger() 210 a5xx_gpu->preempt[i]->wptr = 0; in a5xx_preempt_hw_init() 211 a5xx_gpu->preempt[i]->rptr = 0; in a5xx_preempt_hw_init() 212 a5xx_gpu->preempt[i]->rbase = gpu->rb[i]->iova; in a5xx_preempt_hw_init() 255 a5xx_gpu->preempt[ring->id] = ptr; in preempt_init_ring()
|
| H A D | a5xx_gpu.h | 35 struct a5xx_preempt_record *preempt[MSM_GPU_MAX_RINGS]; member
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | rcupdate.h | 153 # define rcu_tasks_classic_qs(t, preempt) \ argument 155 if (!(preempt) && READ_ONCE((t)->rcu_tasks_holdout)) \ 161 # define rcu_tasks_classic_qs(t, preempt) do { } while (0) argument 179 #define rcu_tasks_qs(t, preempt) \ argument 181 rcu_tasks_classic_qs((t), (preempt)); \ 194 #define rcu_tasks_qs(t, preempt) do { } while (0) argument
|
| H A D | rcutiny.h | 65 #define rcu_note_context_switch(preempt) \ argument 68 rcu_tasks_qs(current, (preempt)); \
|
| H A D | rcutree.h | 21 void rcu_note_context_switch(bool preempt);
|
| H A D | parport.h | 142 int (*preempt)(void *); member 321 int (*preempt)(void *); member
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/linux/ |
| H A D | linux-yocto-rt_5.10.bb | 1 KBRANCH ?= "v5.10/standard/preempt-rt/base" 32 LINUX_KERNEL_TYPE = "preempt-rt"
|
| H A D | linux-yocto-rt_5.15.bb | 1 KBRANCH ?= "v5.15/standard/preempt-rt/base" 32 LINUX_KERNEL_TYPE = "preempt-rt"
|
| /OK3568_Linux_fs/kernel/tools/lib/traceevent/Documentation/ |
| H A D | libtraceevent-event_print.txt | 54 . : The preempt count is zero. 57 preempt count, when non zero, will prevent the kernel 58 from scheduling out the current task. The preempt count
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | sched.h | 108 static inline long __trace_sched_switch_state(bool preempt, struct task_struct *p) in __trace_sched_switch_state() argument 120 if (preempt) in __trace_sched_switch_state() 140 TP_PROTO(bool preempt, 144 TP_ARGS(preempt, prev, next), 160 __entry->prev_state = __trace_sched_switch_state(preempt, prev);
|
| /OK3568_Linux_fs/kernel/drivers/parport/ |
| H A D | share.c | 707 if (!par_dev_cb->preempt || !par_dev_cb->wakeup) { in parport_register_dev_model() 748 par_dev->preempt = par_dev_cb->preempt; in parport_register_dev_model() 992 if (oldcad->preempt) { in parport_claim() 993 if (oldcad->preempt(oldcad->private)) in parport_claim()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/ |
| H A D | acinclude.m4 | 93 AC_MSG_CHECKING([for preempt patch]) 94 AX_KERNEL_OPTION(CONFIG_PREEMPT,preempt=1,preempt=0) 95 AX_MSG_RESULT_YN([$preempt]) 96 test "$preempt" = 0 || AC_MSG_ERROR([unsupported kernel configuration : CONFIG_PREEMPT])
|
| /OK3568_Linux_fs/kernel/Documentation/trace/ |
| H A D | ftrace.rst | 858 # || / _--=> preempt-depth 899 # latency: 259 us, #4/4, CPU#2 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 911 # ||| / _--=> preempt-depth 976 preempt-depth: The level of preempt_disabled 1191 Shows the interrupt, preempt count, need resched data. 1365 # latency: 16 us, #4/4, CPU#0 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 1377 # ||| / _--=> preempt-depth 1416 # latency: 71 us, #168/168, CPU#3 | (M:preempt VP:0, KP:0, SP:0 HP:0 #P:4) 1428 # ||| / _--=> preempt-depth 1505 # || / _--=> preempt-depth [all …]
|
| H A D | ring-buffer-design.rst | 98 same time, nor can a reader preempt/interrupt another reader. A reader 99 cannot preempt/interrupt a writer, but it may read/consume from the 104 A writer can preempt a reader, but a reader cannot preempt a writer. 486 and writes only preempt in "stack" formation. 604 must spin, and this is why the reader cannot preempt the writer:: 657 As stated before, if enough writes preempt the first write, the
|
| /OK3568_Linux_fs/kernel/arch/um/include/asm/ |
| H A D | Kbuild | 23 generic-y += preempt.h
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_sched_switch.c | 24 probe_sched_switch(void *ignore, bool preempt, in probe_sched_switch() argument
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/pm-graph/pm-graph/ |
| H A D | 0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch | 13 ||| / _--=> preempt-depth
|
| /OK3568_Linux_fs/kernel/Documentation/power/ |
| H A D | tricks.rst | 12 * turn off APIC and preempt
|
| /OK3568_Linux_fs/kernel/Documentation/RCU/Design/Expedited-Grace-Periods/ |
| H A D | Expedited-Grace-Periods.rst | 13 There are two flavors of RCU (RCU-preempt and RCU-sched), with an earlier 38 RCU-preempt Expedited Grace Periods 41 ``CONFIG_PREEMPT=y`` kernels implement RCU-preempt. 42 The overall flow of the handling of a given CPU by an RCU-preempt 121 As with RCU-preempt, RCU-sched's ``synchronize_rcu_expedited()`` ignores 132 NEED_RESCHED flag of the current task's thread flag and the CPU preempt 235 For RCU-preempt, there is no specific check for idle in the IPI handler 507 idle CPUs, at least in the common case. RCU-preempt and RCU-sched use
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | Kbuild | 48 mandatory-y += preempt.h
|