Home
last modified time | relevance | path

Searched full:threaded (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/linux/tools/testing/selftests/net/
H A Dnl_netdev.py53 Test that verifies various cases of napi threaded
67 # set napi threaded and verify
68 nf.napi_set({'id': napi0_id, 'threaded': "enabled"})
70 ksft_eq(napi0['threaded'], "enabled")
75 ksft_eq(napi1['threaded'], "disabled")
81 # verify if napi threaded is still set
83 ksft_eq(napi0['threaded'], "enabled")
88 ksft_eq(napi1['threaded'], "disabled")
91 # unset napi threaded and verify
92 nf.napi_set({'id': napi0_id, 'threaded'
[all...]
/linux/tools/testing/selftests/drivers/net/
H A Dnapi_threaded.py5 Test napi threaded states.
16 ksft_eq(napi['threaded'], 'enabled')
22 ksft_eq(napi['threaded'], 'disabled')
26 def _set_threaded_state(cfg, threaded) -> None: argument
27 with open(f"/sys/class/net/{cfg.ifname}/threaded", "wb") as fp:
28 fp.write(str(threaded).encode('utf-8'))
36 threaded = cmd(f"cat /sys/class/net/{cfg.ifname}/threaded").stdout
37 defer(_set_threaded_state, cfg, threaded)
44 Test that threaded stat
[all...]
/linux/Documentation/core-api/real-time/
H A Ddifferences.rst12 With forced-threaded interrupts and sleeping spin locks, code paths that
29 However, on a PREEMPT_RT system, interrupts are forced-threaded and no longer
43 the use of threaded interrupts. Other parts of the kernel also shift their
44 execution into threaded context by different mechanisms. The goal is to keep
49 threaded, preemptible execution.
54 All interrupts are forced-threaded in a PREEMPT_RT system. The exceptions are
58 The IRQF_ONESHOT flag is used together with threaded interrupts, meaning those
59 registered using request_threaded_irq() and providing only a threaded handler.
60 Its purpose is to keep the interrupt line masked until the threaded handler has
64 handler does not acquire any sleeping locks, as it will not be threaded. The
[all …]
/linux/tools/perf/bench/
H A Dsynthesize.c33 OPT_BOOLEAN('s', "st", &run_st, "Run single threaded benchmark"),
34 OPT_BOOLEAN('t', "mt", &run_mt, "Run multi-threaded benchmark"),
40 "Number of iterations used to compute single-threaded average"),
42 "Number of iterations used to compute multi-threaded average"),
138 "Computing performance of single threaded perf event synthesis by\n" in run_single_threaded()
228 "Computing performance of multi threaded perf event synthesis by\n" in run_multi_threaded()
261 * If neither single threaded or multi-threaded are specified, default in bench_synthesize()
262 * to running just single threaded. in bench_synthesize()
/linux/kernel/irq/
H A Dspurious.c174 pr_cont(" threaded [<%p>] %ps", action->thread_fn, action->thread_fn); in __report_bad_irq()
235 * We cannot call note_interrupt from the threaded handler in note_interrupt()
237 * (primary and threaded). Aside of that in the threaded in note_interrupt()
239 * hardware interrupt while we are dealing with a threaded in note_interrupt()
245 * The threaded handlers store whether they successfully in note_interrupt()
250 * mechanism, but for the non forced threaded case we'd just in note_interrupt()
276 * Check whether one of the threaded handlers in note_interrupt()
302 * None of the threaded handlers felt in note_interrupt()
316 * threaded handlers on the same line. Clear in note_interrupt()
H A Dmanage.c92 * associated threaded handlers into account.
95 * parts (hardirq and threaded handler) have completed.
97 * Returns: false if a threaded handler is active.
126 * threaded handlers are active. in __synchronize_irq()
744 * Returns: false if a threaded handler is active.
995 * Default primary interrupt handler for threaded interrupts. Is
1005 * Primary handler for nested threaded interrupts. Should never be
1084 * Oneshot interrupts keep the irq line masked until the threaded
1139 * Interrupts explicitly requested as threaded interrupts want to be
1155 * Interrupts which are not explicitly requested as threaded
[all...]
/linux/tools/memory-model/Documentation/
H A Dsimple.txt22 Single-threaded code
25 In single-threaded code, there is no reordering, at least assuming
28 threaded context as the kernel can enter the same code path on multiple
38 this lock at a given time, your code will be executed single-threaded.
61 Despite the scalability limitations of single-threaded code, RCU
64 single-threaded grace-period processing is use of batching, where all
75 being completely single-threaded, it is often possible to use library
89 With code locking, we use single-threaded code execution to guarantee
93 in the code execution that will execute as though it is single threaded.
114 a single-threaded approach while providing excellent performance and
/linux/scripts/coccinelle/misc/
H A Dirqf_oneshot.cocci2 /// Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
3 /// threaded IRQs without a primary handler need to be requested with
106 msg = "WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is n…
112 msg = "WARNING: Threaded IRQ with no primary handler requested without IRQF_ONESHOT (unless it is n…
/linux/tools/testing/selftests/cgroup/
H A Dtest_core.c277 * A (domain threaded) - B (threaded) - C (domain)
280 * threaded cgroup. "cgroup.type" file will report "domain (invalid)" in
307 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_invalid_domain()
346 * Test that when a child becomes threaded
347 * the parent type becomes domain threaded.
368 if (cg_write(child, "cgroup.type", "threaded")) in test_cgcore_parent_becomes_threaded()
371 if (cg_read_strcmp(parent, "cgroup.type", "domain threaded\n")) in test_cgcore_parent_becomes_threaded()
388 * Test that there's no internal process constrain on threaded cgroups.
414 if (cg_write(parent, "cgroup.type", "threaded")) in test_cgcore_no_internal_process_constraint_on_threads()
417 if (cg_write(child, "cgroup.type", "threaded")) in test_cgcore_no_internal_process_constraint_on_threads()
[all …]
H A Dtest_cpuset.c341 if (cg_write(parent, "cgroup.type", "threaded")) in test_cpuset_affinity_on_controller_disable()
349 if (cg_write(child_a, "cgroup.type", "threaded")) in test_cpuset_affinity_on_controller_disable()
357 if (cg_write(child_b, "cgroup.type", "threaded")) in test_cpuset_affinity_on_controller_disable()
/linux/include/linux/
H A Dcgroup-defs.h298 * For a domain cgroup, the following points to self. If threaded,
334 /* all threaded csets whose ->dom_cset points to this cset */
519 * Domain/threaded split of self.nr_populated_children: each counts
528 int nr_threaded_children; /* # of live threaded child cgroups */
590 * If !threaded, self. If threaded, it points to the nearest
591 * domain ancestor. Inside a threaded subtree, cgroups are exempt
597 struct cgroup *old_dom_cgrp; /* used while enabling threaded */
833 * If %true, the controller, supports threaded mode on the default
834 * hierarchy. In a threaded subtre member
[all...]
/linux/Documentation/PCI/
H A Dboot-interrupts.rst56 irq_default_primary_handler threaded usb_hcd_irq
63 The use of threaded interrupts is the most likely condition to trigger
64 this problem today. Threaded interrupts may not be re-enabled after the IRQ
65 handler wakes. These "one shot" conditions mean that the threaded interrupt
66 needs to keep the interrupt line masked until the threaded handler has run.
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst323 Controllers which support thread mode are called threaded controllers.
326 Marking a cgroup threaded makes it join the resource domain of its
327 parent as a threaded cgroup. The parent may be another threaded
329 of a threaded subtree, that is, the nearest ancestor which is not
330 threaded, is called threaded domain or thread root interchangeably and
333 Inside a threaded subtree, threads of a process can be put in
335 constraint - threaded controllers can be enabled on non-leaf cgroups
338 As the threaded domai
[all...]
/linux/Documentation/netlink/specs/
H A Dnetdev.yaml97 name: napi-threaded
283 threaded mode. If NAPI is not in threaded mode (i.e. uses normal
307 name: threaded
308 doc: Whether the NAPI is configured to operate in threaded polling
310 in threaded polling mode. If this is set to busy-poll, then the
311 threaded polling mode also busy polls.
313 enum: napi-threaded
773 - threaded
850 - threaded
[all...]
/linux/rust/kernel/irq/
H A Drequest.rs42 /// interrupt context, should be deferred to a threaded handler.
267 /// Callbacks for a threaded IRQ handler. in handle_irq_callback()
273 /// executed from interrupt context, should be deferred to the threaded in handle_irq_callback()
281 /// The threaded IRQ handler.
288 /// A registration of a threaded IRQ handler for a given IRQ line.
340 /// // Registers a threaded IRQ handler for the given [`IrqRequest`].
H A Dflags.rs65 /// threaded interrupts which need to keep the irq line disabled until the
66 /// threaded handler has been run.
76 /// Interrupt cannot be threaded.
/linux/drivers/pinctrl/qcom/
H A Dtlmm-test.c63 * @thread_op: operations to be performed by the threaded IRQ handler
65 * be performed by the threaded IRQ handler
360 * 10 threaded interrupts
412 * Drive line high 10 times, threaded handler drives it low to "clear the
437 * Drive line low 10 times, threaded handler drives it high to "clear the
463 * threaded handler to simulate a new interrupt, repeated 10 times, assert we
488 * threaded handler to simulate a new interrupt, repeated 10 times, assert we
/linux/Documentation/usb/
H A Ddwc3.rst34 - threaded handler of the device
45 - threaded handler of the EP-interrupt
/linux/drivers/pci/hotplug/
H A DTODO10 hardirq handler cpqhp_ctrl_intr(). Convert this to threaded IRQ handling.
51 simplified by converting it to threaded IRQ handling. Use pciehp as a
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net341 What: /sys/class/net/<iface>/threaded
346 Boolean value to control the threaded mode per device. User could
347 set this value to enable/disable threaded mode for all napi
352 0 threaded mode disabled for this dev
353 1 threaded mode enabled for this dev
/linux/drivers/base/power/
H A Dwakeirq.c146 * use a threaded IRQ.
200 * so we use a threaded irq. in __dev_pm_set_dedicated_wake_irq()
234 * Sets up a threaded interrupt handler for a device that has
253 * Sets up a threaded interrupt handler for a device that has a dedicated
/linux/net/core/
H A Ddev.h381 return n->config->threaded;
382 return dev->threaded;
386 enum netdev_napi_threaded threaded);
389 enum netdev_napi_threaded threaded);
/linux/fs/squashfs/
H A DKconfig91 If in doubt, select "Single threaded compression"
94 bool "Single threaded compression"
97 Traditionally Squashfs has used single-threaded decompression.
/linux/scripts/
H A Dxz_wrap.sh156 # Use single-threaded mode because it compresses a little better
161 # needs less than 1400 MiB of RAM in single-threaded mode.
/linux/drivers/firmware/tegra/
H A Dbpmp-tegra186.c175 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_teardown_channels()
295 for (i = 0; i < bpmp->threaded.count; i++) { in tegra186_bpmp_setup_channels()
318 for (i = 0; i < bpmp->threaded.count; i++) in tegra186_bpmp_reset_channels()

12345678910>>...12