mirror_ubuntu-kernels/include/linux/sched
Waiman Long 3232e7aad1 cgroup/cpuset: Include isolated cpuset CPUs in cpu_is_isolated() check
Currently, the cpu_is_isolated() function checks only the statically
isolated CPUs specified via the "isolcpus" and "nohz_full" kernel
command line options. This function is used by vmstat and memcg to
reduce interference with isolated CPUs by not doing stat flushing
or scheduling works on those CPUs.

Workloads running on isolated CPUs within isolated cpuset
partitions should receive the same treatment to reduce unnecessary
interference. This patch introduces a new cpuset_cpu_is_isolated()
function to be called by cpu_is_isolated() so that the set of dynamically
created cpuset isolated CPUs will be included in the check.

Assuming that testing a bit in a cpumask is atomic, no synchronization
primitive is currently used to synchronize access to the cpuset's
isolated_cpus mask.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2023-12-06 09:37:28 -10:00
..
affinity.h
autogroup.h
clock.h
cond_resched.h
coredump.h mm/ksm: support fork/exec for prctl 2023-10-16 15:44:38 -07:00
cpufreq.h
cputime.h
deadline.h sched/headers: Add header guard to <linux/sched/deadline.h> 2023-09-21 11:22:35 +02:00
debug.h
hotplug.h
idle.h
init.h
isolation.h cgroup/cpuset: Include isolated cpuset CPUs in cpu_is_isolated() check 2023-12-06 09:37:28 -10:00
jobctl.h
loadavg.h
mm.h mm: kmem: scoped objcg protection 2023-10-25 16:47:11 -07:00
nohz.h
numa_balancing.h Many singleton patches against the MM code. The patch series which are 2023-11-02 19:38:47 -10:00
posix-timers.h
prio.h
rseq_api.h
rt.h sched: Provide rt_mutex specific scheduler helpers 2023-09-20 09:31:12 +02:00
sd_flags.h sched: Add cpus_share_resources API 2023-10-24 10:38:42 +02:00
signal.h As usual, lots of singleton and doubleton patches all over the tree and 2023-11-02 20:53:31 -10:00
smt.h sched/headers: Standardize the <linux/sched/smt.h> header guard #endif 2023-09-21 11:28:48 +02:00
stat.h
sysctl.h
task_flags.h
task_stack.h
task.h sched: avoid false lockdep splat in put_task_struct() 2023-07-13 15:21:48 +02:00
thread_info_api.h
topology.h sched/fair: Remove SIS_PROP 2023-10-24 10:38:44 +02:00
types.h sched/headers: Standardize the <linux/sched/type.h> header guard #endif 2023-09-21 11:27:37 +02:00
user.h
vhost_task.h sched/headers: Standardize the <linux/sched/vhost_task.h> header guard name 2023-09-21 11:25:51 +02:00
wake_q.h
xacct.h