Home
last modified time | relevance | path

Searched refs:softirq (Results 1 – 25 of 38) sorted by relevance

12

/linux/include/trace/events/
H A Dirq.h103 DECLARE_EVENT_CLASS(softirq,
122 * softirq_entry - called immediately before the softirq handler
123 * @vec_nr: softirq vector number
126 * we can determine the softirq handler routine.
128 DEFINE_EVENT(softirq, softirq_entry,
136 * softirq_exit - called immediately after the softirq handler returns
137 * @vec_nr: softirq vector number
140 * we can determine the softirq handler routine.
142 DEFINE_EVENT(softirq, softirq_exit,
150 * softirq_raise - called immediately when a softirq i
[all...]
/linux/kernel/trace/
H A Dtrace_osnoise.c235 struct osn_softirq softirq; member
394 osn_var->softirq.arrival_time = 0; in timerlat_softirq_exit()
395 osn_var->softirq.delta_start = 0; in timerlat_softirq_exit()
743 if (osn_var->softirq.delta_start) in cond_move_softirq_delta_start()
744 osn_var->softirq.delta_start += duration; in cond_move_softirq_delta_start()
1063 osn_var->softirq.arrival_time = time_get(); in trace_softirq_entry_callback()
1064 set_int_safe_time(osn_var, &osn_var->softirq.delta_start); in trace_softirq_entry_callback()
1065 osn_var->softirq.count++; in trace_softirq_entry_callback()
1088 duration = get_int_safe_duration(osn_var, &osn_var->softirq.delta_start); in trace_softirq_exit_callback()
1089 trace_softirq_noise(vec_nr, osn_var->softirq.arrival_time, duration); in trace_softirq_exit_callback()
[all …]
/linux/Documentation/RCU/
H A DUP.rst15 Example 1: softirq Suicide
20 this same list in softirq context. Suppose that the process-context scan
21 is referencing element B when it is interrupted by softirq processing,
26 from softirq, the list scan would find itself referencing a newly freed
134 then, since RCU callbacks can be invoked from softirq context,
135 the callback might be called from a softirq that interrupted
H A Dchecklist.rst205 invoked from softirq context, and in any case with bottom halves
241 and re-enables softirq, for example, rcu_read_lock_bh() and
272 network-driver NAPI (softirq) context. BPF relies heavily on RCU
375 with softirq disabled, e.g., via spin_lock_bh(). Failing to
376 disable softirq on a given acquisition of that lock will result
377 in deadlock as soon as the RCU softirq handler happens to run
407 might be concurrently invoked by that CPU's softirq handler and
/linux/Documentation/translations/zh_CN/core-api/
H A Dxarray.rst200 在修改数组时,XArray不会禁用中断或softirqs。从中断或softirq上下文中读取XArray是安全的,因为RCU锁
203 例如,如果你想在进程上下文中存储XArray中的条目,然后在softirq上下文中擦除它们,你可以这样做::
231 如果你要从中断或softirq上下文中修改XArray,你需要使用xa_init_flags()初始化数组,传递
/linux/Documentation/locking/
H A Dlockdep-design.rst55 - softirq
88 ||| \-> softirq disabled and not in softirq context
89 || \--> acquired in softirq context
120 A softirq-unsafe lock-class is automatically hardirq-unsafe as well. The
125 <softirq-safe> or <softirq-unsafe>
160 <softirq-safe> -> <softirq-unsafe>
164 thus could result in a lock inversion deadlock. Likewise, a softirq-safe
165 lock could be taken by an softirq context, interrupting a softirq-unsafe
178 - if a new softirq-safe lock is discovered, we check whether it took
179 any softirq-unsafe lock in the past.
[all …]
/linux/Documentation/translations/zh_CN/mm/
H A Dpage_frags.rst30 将禁用中断,而 ”napi“ 前缀的函数只可以在softirq上下文中使用。
/linux/Documentation/kernel-hacking/
H A Dlocking.rst164 If a softirq shares data with user context, you have two problems.
165 Firstly, the current user context can be interrupted by a softirq, and
180 (``include/linux/interrupt.h``), which protects you from the softirq
187 from a softirq.
193 from a softirq. From a locking point of view, tasklets and timers are
221 Often a softirq might want to share data with itself or a tasklet/timer.
226 The same softirq can run on the other CPUs: you can use a per-CPU array
228 going so far as to use a softirq, you probably care about scalable
239 tasklet, different softirq or the same or another softirq: any of them
245 Hardware interrupts usually communicate with a tasklet or softirq.
[all …]
/linux/Documentation/translations/zh_CN/infiniband/
H A Dcore_locking.rst98 进程上下文、softirq上下文或中断上下文。上层协议使用者可能不会在回调中睡眠。
/linux/Documentation/translations/zh_CN/core-api/irq/
H A Dirqflags-tracing.rst17 “irq-flags tracing”(中断标志追踪)功能可以 “追踪” hardirq和softirq的状态,它让
/linux/Documentation/tools/rtla/
H A Dcommon_osnoise_description.txt3 time in a loop while with preemption, softirq and IRQs enabled, thus
/linux/kernel/
H A DKconfig.preempt110 bool "Enforce softirq synchronisation on PREEMPT_RT"
114 the softirq is preemptible. This enforces the same per-CPU BLK
119 this if you suspect an error with preemptible softirq and want test
/linux/Documentation/timers/
H A Dhighres.rst176 red-black tree to a separate double linked list and invokes the softirq
183 context to the softirq and to the task which is woken up by the expired
199 The softirq for running the hrtimer queues and executing the callbacks has been
200 separated from the tick bound timer softirq to allow accurate delivery of high
202 timers. The execution of this softirq can still be delayed by other softirqs,
/linux/Documentation/translations/it_IT/locking/
H A Dlockdep-design.rst53 - softirq
84 ||| \-> softirq disabilitati e fuori da un contesto di softirq
85 || \--> acquisito in un contesto di softirq
117 Una classe softirq insicura è automaticamente insicura anche per hardirq. I
122 <softirq-safe> o <softirq-unsafe>
157 <softirq-safe> -> <softirq-unsafe>
306 e differenti scenari con hardirq e softirq e annidamenti vari (nella pratica,
/linux/Documentation/translations/it_IT/kernel-hacking/
H A Dhacking.rst40 - non associata ad alcun processo, servendo un softirq o tasklet;
50 softirq è in esecuzione su d'una CPU, nessun altro softirq può avvicendarsi
77 Attenzione che se avete la prelazione o i softirq disabilitati (vedere
101 Contesto d'interruzione software: softirq e tasklet
107 eseguita (``kernel/softirq.c``).
116 Il file ``include/linux/interrupt.h`` elenca i differenti tipi di 'softirq'.
117 Un tipo di softirq molto importante è il timer (``include/linux/timer.h``):
121 Dato che i softirq possono essere eseguiti simultaneamente su più di un
134 Potete determinate se siete in un softirq (o tasklet) utilizzando la
432 Lo scopo è di prevenire l'esecuzione di softirq e tasklet sul processore
/linux/Documentation/trace/
H A Deprobetrace.rst124 # | / _---=> hardirq/softirq
204 # | / _---=> hardirq/softirq
255 # | / _---=> hardirq/softirq
/linux/Documentation/mm/
H A Dpage_frags.rst32 only usable within the softirq context.
/linux/Documentation/core-api/irq/
H A Dirqflags-tracing.rst7 The "irq-flags tracing" feature "traces" hardirq and softirq state, in
/linux/Documentation/networking/
H A Dx25-iface.rst81 call "netif_receive_skb_core" from softirq context to deliver them.
/linux/Documentation/translations/zh_CN/kernel-hacking/
H A Dhacking.rst33 - 与任何进程无关,服务于软件中断(softirq)或子任务(tasklet);
81 过硬件中断)的“软件中断”将运行( ``kernel/softirq.c`` )。
/linux/Documentation/infiniband/
H A Dcore_locking.rst95 may be process context, softirq context, or interrupt context.
/linux/tools/perf/Documentation/
H A Dperf-kwork.txt73 List of kwork to profile (irq, softirq, workqueue, sched, etc)
/linux/Documentation/core-api/
H A Dworkqueue.rst80 A work item can be executed in either a thread or the BH (softirq) context.
100 interface to softirq.
176 BH workqueues can be considered a convenience interface to softirq. BH
178 queueing CPU's softirq context in the queueing order.
H A Dlocal_ops.rst68 * This CPU can use local ops from any context (process, irq, softirq, nmi, ...)
/linux/Documentation/crypto/
H A Dapi-intro.rst90 methods may only be called from softirq and user contexts. For

12