aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAndrea Righi <[email protected]>2025-01-04 09:00:09 +0000
committerTejun Heo <[email protected]>2025-01-06 18:48:38 +0000
commitd9071ecb313940fe1d8827fef48bbf9fdaf28a4c (patch)
tree7f36ed983fe31c70978b80a7c988d00572664bde /net/unix/sysctl_net_unix.c
parentsched_ext: idle: introduce check_builtin_idle_enabled() helper (diff)
downloadkernel-d9071ecb313940fe1d8827fef48bbf9fdaf28a4c.tar.gz
kernel-d9071ecb313940fe1d8827fef48bbf9fdaf28a4c.zip
sched_ext: idle: small CPU iteration refactoring
Replace the loop to check if all SMT CPUs are idle with cpumask_subset(). This simplifies the code and slightly improves efficiency, while preserving the original behavior. Note that idle_masks.smt handling remains racy, which is acceptable as it serves as an optimization and is self-correcting. Suggested-and-reviewed-by: Yury Norov <[email protected]> Signed-off-by: Andrea Righi <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions