Home
last modified time | relevance | path

Searched full:priority (Results 1 – 25 of 2420) sorted by relevance

12345678910>>...97

/Linux-v5.15/include/uapi/linux/
Ddcbnl.h42 * @prio_tc: priority assignment table mapping 8021Qp to traffic class
52 * 0 strict priority
137 * by RPs at this priority level on this Port
169 /* priority to buffer mapping */
181 * struct cee_pg - CEE Priority-Group managed object
187 * @pg_bw: bandwidth percentage for each priority group
188 * @prio_pg: priority to PG mapping indexed by priority
226 * @priority: 3-bit unsigned integer indicating priority for IEEE
227 * 8-bit 802.1p user priority bitmap for CEE
246 __u8 priority; member
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_scheduler_types.h21 * @priority: execution and service priority
26 * @priority will be executed before those with a lower @priority
29 * The &drm_i915_private.kernel_context is assigned the lowest priority.
31 int priority; member
51 * dynamic priority changes.
57 * is put to the back of its priority queue, then reshuffling its dependents).
97 * A schedule engine represents a submission queue with different priority
112 * @lock: protects requests in priority lists, requests, hold and
133 * @default_priolist: priority list for I915_PRIORITY_NORMAL
138 * @queue_priority_hint: Highest pending priority.
[all …]
/Linux-v5.15/Documentation/locking/
Drt-mutex-design.rst16 The goal of this document is to help others understand the priority
21 Unbounded Priority Inversion
24 Priority inversion is when a lower priority process executes while a higher
25 priority process wants to run. This happens for several reasons, and
26 most of the time it can't be helped. Anytime a high priority process wants
27 to use a resource that a lower priority process has (a mutex for example),
28 the high priority process must wait until the lower priority process is done
29 with the resource. This is a priority inversion. What we want to prevent
30 is something called unbounded priority inversion. That is when the high
31 priority process is prevented from running by a lower priority process for
[all …]
Drt-mutex.rst5 RT-mutexes with priority inheritance are used to support PI-futexes,
6 which enable pthread_mutex_t priority inheritance attributes
16 RT-mutexes extend the semantics of simple mutexes by the priority
19 A low priority owner of a rt-mutex inherits the priority of a higher
20 priority waiter until the rt-mutex is released. If the temporarily
21 boosted owner blocks on a rt-mutex itself it propagates the priority
23 priority boosting is immediately removed once the rt_mutex has been
27 mutexes which protect shared resources. Priority inheritance is not a
30 an high priority thread, without losing determinism.
33 priority order. For same priorities FIFO order is chosen. For each
[all …]
/Linux-v5.15/samples/bpf/
Dtest_cgrp2_sock.sh96 check_sock "dev , mark 0, priority 0" "No programs attached"
97 check_sock6 "dev , mark 0, priority 0" "No programs attached"
105 check_sock "dev cgrp2_sock, mark 0, priority 0" "Device set"
106 check_sock6 "dev cgrp2_sock, mark 0, priority 0" "Device set"
114 check_sock "dev , mark 666, priority 0" "Mark set"
115 check_sock6 "dev , mark 666, priority 0" "Mark set"
117 # verify priority is set
121 cleanup_and_exit 1 "Failed to install program to set priority"
123 check_sock "dev , mark 0, priority 123" "Priority set"
124 check_sock6 "dev , mark 0, priority 123" "Priority set"
[all …]
/Linux-v5.15/arch/mips/kvm/
Dinterrupt.c28 unsigned int priority; in kvm_mips_deliver_interrupts() local
33 priority = __ffs(*pending_clr); in kvm_mips_deliver_interrupts()
34 while (priority <= MIPS_EXC_MAX) { in kvm_mips_deliver_interrupts()
35 kvm_mips_callbacks->irq_clear(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
37 priority = find_next_bit(pending_clr, in kvm_mips_deliver_interrupts()
39 priority + 1); in kvm_mips_deliver_interrupts()
42 priority = __ffs(*pending); in kvm_mips_deliver_interrupts()
43 while (priority <= MIPS_EXC_MAX) { in kvm_mips_deliver_interrupts()
44 kvm_mips_callbacks->irq_deliver(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
46 priority = find_next_bit(pending, in kvm_mips_deliver_interrupts()
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dvidioc-g-priority.rst13 VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority associated with a file…
38 To query the current access priority applications call the
40 variable where the driver stores the current priority.
42 To request an access priority applications store the desired priority in
60 - Lowest priority, usually applications running in background, for
63 read from a device at this priority.
69 - Medium priority, usually applications started and interactively
72 controls. This is the default priority unless an application
76 - Highest priority. Only one file descriptor can have this priority,
88 The requested priority value is invalid.
[all …]
/Linux-v5.15/net/mac80211/
Dwme.c35 switch (skb->priority) { in wme_downgrade_ac()
38 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
42 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
46 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac()
89 while (sdata->wmm_acm & BIT(skb->priority)) { in ieee80211_downgrade_queue()
90 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue()
93 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue()
108 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue()
109 skb->priority = ieee80211_fix_reserved_tid(skb->priority); in ieee80211_downgrade_queue()
112 return ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue()
[all …]
/Linux-v5.15/Documentation/admin-guide/pm/
Dintel-speed-select.rst302 allows users to define per core priority. This defines a mechanism to distribute
309 service and hence an associated priority. The granularity is at core level not
316 and use a priority type. There is a default per platform priority type, which
325 Clos Enable: Specify priority type with [--priority|-p]
328 There are two types of priority types:
332 Priority for ordered throttling is defined based on the index of the assigned
333 CLOS group. Where CLOS0 gets highest priority (throttled last).
335 Priority order is:
340 When proportional priority is used, there is an additional parameter called
342 proportional priority is to provide each core with the requested min., then
[all …]
/Linux-v5.15/tools/power/cpupower/bench/
Dsystem.c94 * sets the process priority parameter
96 * @param priority priority value
99 * @retval -1 when setting the priority failed
102 int set_process_priority(int priority) in set_process_priority() argument
106 dprintf("set scheduler priority to %i\n", priority); in set_process_priority()
108 param.sched_priority = priority; in set_process_priority()
112 fprintf(stderr, "warning: unable to set scheduler priority\n"); in set_process_priority()
146 * sets up the cpu affinity and scheduler priority
162 printf("high priority condition requested\n"); in prepare_system()
168 printf("low priority condition requested\n"); in prepare_system()
[all …]
/Linux-v5.15/Documentation/virt/kvm/devices/
Dxics.rst47 * Pending interrupt priority, 8 bits
48 Zero is the highest priority, 255 means no interrupt is pending.
50 * Pending IPI (inter-processor interrupt) priority, 8 bits
51 Zero is the highest priority, 255 means no IPI is pending.
56 * Current processor priority, 8 bits
57 Zero is the highest priority, meaning no interrupts can be
58 delivered, and 255 is the lowest priority.
71 * Priority, 8 bits
73 This is the priority specified for this interrupt source, where 0 is
74 the highest priority and 255 is the lowest. An interrupt with a
[all …]
/Linux-v5.15/Documentation/admin-guide/cgroup-v1/
Dnet_prio.rst2 Network priority cgroup
5 The Network priority cgroup provides an interface to allow an administrator to
6 dynamically set the priority of network traffic generated by various
9 Nominally, an application would set the priority of its traffic via the
13 2) The priority of application traffic is often a site-specific administrative
17 the priority of egress traffic on a given interface. Network priority groups can
36 It contains a list of tuples in the form <ifname priority>. Contents of this
43 iscsi net_prio cgroup and egressing on interface eth0 to have the priority of
46 priority.
/Linux-v5.15/drivers/net/ethernet/sfc/
Defx.h85 * existing filter with equal priority
94 * 1. If the existing filters have lower priority, or @replace_equal
95 * is set and they have equal priority, replace them.
97 * 2. If the existing filters have higher priority, return -%EPERM.
103 * all be inserted with the same priority and @replace_equal = %false.
115 * @priority: Priority of filter, as passed to @efx_filter_insert_filter
122 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument
125 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
131 * @priority: Priority of filter, as passed to @efx_filter_insert_filter
140 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_82599.c15 * @prio_type: priority type indexed by traffic class
16 * @prio_tc: priority to tc assignments indexed by priority
45 /* Configure traffic class credits and priority */ in ixgbe_dcb_config_rx_arbiter_82599()
75 * @prio_type: priority type indexed by traffic class
94 /* Configure traffic class credits and priority */ in ixgbe_dcb_config_tx_desc_arbiter_82599()
126 * @prio_type: priority type indexed by traffic class
127 * @prio_tc: priority to tc assignments indexed by priority
156 /* Configure traffic class credits and priority */ in ixgbe_dcb_config_tx_data_arbiter_82599()
183 * ixgbe_dcb_config_pfc_82599 - Configure priority flow control
186 * @prio_tc: priority to tc assignments indexed by priority
[all …]
/Linux-v5.15/include/linux/
Dplist.h3 * Descending-priority-sorted double-linked list
18 * This is a priority-sorted list of nodes; each node has a
19 * priority from INT_MIN (highest) to INT_MAX (lowest).
21 * Addition is O(K), removal is O(1), change of priority of a node is
22 * O(K) and K is the number of RT priority levels used in the system.
27 * - The tier 1 list is the prio_list, different priority nodes.
45 * The nodes on the prio_list list are sorted by priority to simplify
49 * The nodes on the node_list are ordered by priority and can contain
50 * entries which have the same priority. Those entries are ordered
54 * for the priority of the node and insert it before the node_list
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \
14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \
16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \
17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \
19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \
21 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
23 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1);
27 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic()
41 !ASSERT_EQ(opts.priority, 1, "priority set") || in test_tc_bpf_basic()
[all …]
/Linux-v5.15/include/trace/events/
Dvmscan.h189 int priority),
192 priority),
203 __field(int, priority)
215 __entry->priority = priority;
218 … nid: %d objects to shrink %ld gfp_flags %s cache items %ld delta %lld total_scan %ld priority %d",
227 __entry->priority)
343 struct reclaim_stat *stat, int priority, int file),
345 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
359 __field(int, priority)
375 __entry->priority = priority;
[all …]
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/
Defx.h87 * existing filter with equal priority
96 * 1. If the existing filters have lower priority, or @replace_equal
97 * is set and they have equal priority, replace them.
99 * 2. If the existing filters have higher priority, return -%EPERM.
105 * all be inserted with the same priority and @replace_equal = %false.
117 * @priority: Priority of filter, as passed to @ef4_filter_insert_filter
124 enum ef4_filter_priority priority, in ef4_filter_remove_id_safe() argument
127 return efx->type->filter_remove_safe(efx, priority, filter_id); in ef4_filter_remove_id_safe()
133 * @priority: Priority of filter, as passed to @ef4_filter_insert_filter
142 enum ef4_filter_priority priority, in ef4_filter_get_filter_safe() argument
[all …]
/Linux-v5.15/lib/
Dparman.c2 * lib/parman.c - Manager for linear priority array areas
236 * with the same priority. Consider following example:
247 * In this example, there are 3 priority chunks. The order of the priorities
248 * matters, however the order of items within a single priority chunk does not
260 * The goal of parman is to maintain the priority ordering. The caller
297 * parman_prio_init - initializes a parman priority chunk
300 * @priority: desired priority of the chunk
304 * Before caller could add an item with certain priority, he has to
305 * initialize a priority chunk for it using this function.
308 unsigned long priority) in parman_prio_init() argument
[all …]
/Linux-v5.15/arch/powerpc/include/asm/vdso/
Dprocessor.h7 /* Macros for adjusting thread priority (hardware multi-threading) */
9 #define HMT_very_low() asm volatile("or 31, 31, 31 # very low priority")
10 #define HMT_low() asm volatile("or 1, 1, 1 # low priority")
11 #define HMT_medium_low() asm volatile("or 6, 6, 6 # medium low priority")
12 #define HMT_medium() asm volatile("or 2, 2, 2 # medium priority")
13 #define HMT_medium_high() asm volatile("or 5, 5, 5 # medium high priority")
14 #define HMT_high() asm volatile("or 3, 3, 3 # high priority")
/Linux-v5.15/include/linux/surface_aggregator/
Dserial_hub.h336 * @SSH_PACKET_PRIORITY_FLUSH: Base priority for flush packets.
337 * @SSH_PACKET_PRIORITY_DATA: Base priority for normal data packets.
338 * @SSH_PACKET_PRIORITY_NAK: Base priority for NAK packets.
339 * @SSH_PACKET_PRIORITY_ACK: Base priority for ACK packets.
355 * SSH_PACKET_PRIORITY() - Compute packet priority from base priority and
357 * @base: The base priority as suffix of &enum ssh_packet_base_priority, e.g.
361 * Compute the combined packet priority. The combined priority is dominated by
362 * the base priority, whereas the number of (re-)tries decides the precedence
363 * of packets with the same base priority, giving higher priority to packets
366 * Return: Returns the computed priority as value fitting inside a &u8. A
[all …]
/Linux-v5.15/Documentation/vm/
Dswap_numa.rst15 Swap device has priority and that decides the order of it to be used. To make
16 use of automatically binding, there is no need to manipulate priority settings
65 The current code uses a priority based list, swap_avail_list, to decide
67 priority, they are used round robin. This change here replaces the single
69 it sees its own priority based list of available swap devices. Swap
70 device's priority can be promoted on its matching node's swap_avail_list.
72 The current swap device's priority is set as: user can set a >=0 value,
73 or the system will pick one starting from -1 then downwards. The priority
76 the semantics for priority >=0 cases, the previous starting from -1 then
79 node, they will all be promoted to priority -1 on that node's plist and will
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sched.c56 WARN(1, "Invalid context priority %d\n", amdgpu_priority); in amdgpu_to_sched_priority()
65 enum drm_sched_priority priority) in amdgpu_sched_process_priority_override() argument
83 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override()
92 enum drm_sched_priority priority) in amdgpu_sched_context_priority_override() argument
115 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override()
127 enum drm_sched_priority priority; in amdgpu_sched_ioctl() local
141 r = amdgpu_to_sched_priority(args->in.priority, &priority); in amdgpu_sched_ioctl()
149 priority); in amdgpu_sched_ioctl()
155 priority); in amdgpu_sched_ioctl()
/Linux-v5.15/kernel/sched/
Dcpupri.c5 * CPU priority management
11 * This code tracks the priority of each CPU so that global migration
16 * going from the lowest priority to the highest. CPUs in the INVALID state
18 * a 2 dimensional bitmap (the first for priority class, the second for CPUs
92 * priority. in __cpupri_find()
112 * priority level and continue on. in __cpupri_find()
140 * priority configuration.
168 * If no CPU at the current priority can fit the task in cpupri_find_fitness()
181 * This rule favours honouring priority over fitting the task in the in cpupri_find_fitness()
183 * The idea is that if a higher priority task can run, then it should in cpupri_find_fitness()
[all …]
/Linux-v5.15/arch/mips/cavium-octeon/executive/
Dcvmx-pko.c172 const uint64_t priority = 8; in __cvmx_pko_chip_init() local
175 &priority); in __cvmx_pko_chip_init()
329 * @priority: Array of priority levels for each queue. Values are
333 * on the fly while the pko is enabled. A priority of 9
334 * indicates that static priority should be used. If static
335 * priority is used all queues with static priority must be
337 * queues have higher priority than higher numbered queues.
342 const uint64_t priority[]) in cvmx_pko_config_port() argument
370 * Validate the static queue priority setup and set in cvmx_pko_config_port()
375 /* Find first queue of static priority */ in cvmx_pko_config_port()
[all …]

12345678910>>...97