Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cgroup/cpuset: Remove partition_and_rebuild_sched_domains

partition_and_rebuild_sched_domains() and partition_sched_domains() are
now equivalent.

Remove the former as a nice clean up.

Suggested-by: Waiman Long <llong@redhat.com>
Signed-off-by: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <llong@redhat.com>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: Waiman Long <longman@redhat.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Link: https://lore.kernel.org/r/Z9MR4ryNDJZDzsSG@jlelli-thinkpadt14gen4.remote.csb

authored by

Juri Lelli and committed by
Peter Zijlstra
ce9b3f93 d735bab3

+1 -10
+1 -10
kernel/cgroup/cpuset.c
··· 993 993 rcu_read_unlock(); 994 994 } 995 995 996 - static void 997 - partition_and_rebuild_sched_domains(int ndoms_new, cpumask_var_t doms_new[], 998 - struct sched_domain_attr *dattr_new) 999 - { 1000 - sched_domains_mutex_lock(); 1001 - partition_sched_domains_locked(ndoms_new, doms_new, dattr_new); 1002 - sched_domains_mutex_unlock(); 1003 - } 1004 - 1005 996 /* 1006 997 * Rebuild scheduler domains. 1007 998 * ··· 1054 1063 ndoms = generate_sched_domains(&doms, &attr); 1055 1064 1056 1065 /* Have scheduler rebuild the domains */ 1057 - partition_and_rebuild_sched_domains(ndoms, doms, attr); 1066 + partition_sched_domains(ndoms, doms, attr); 1058 1067 } 1059 1068 #else /* !CONFIG_SMP */ 1060 1069 void rebuild_sched_domains_locked(void)