android_kernel_xiaomi_sm7250/kernel
Sultan Alsawaf 5cfb51a3e7 workqueue: Affine unbound workqueues to little CPUs by default
Although unbound workqueues are eligible to run their workers on any
CPU, the workqueue subsystem prefers scheduling workers onto the CPU
which queues them. This results in unbound workers consuming valuable
CPU time on the big and prime CPU clusters.

We can alleviate the burden of kernel housekeeping on the more important
CPUs by moving the unbound workqueues to the little CPU cluster by
default. This may also reduce power consumption, which is a plus.

Fix Warning:
kernel/workqueue.c:5765:6: warning: unused variable 'hk_flags' [-Wunused-variable]
        int hk_flags = HK_FLAG_DOMAIN | HK_FLAG_WQ;
[spak]

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-11-12 11:24:10 +00:00
..
bpf This is the 4.19.262 stable release 2022-10-30 16:23:17 +01:00
cgroup FROMLIST: mm: multi-gen LRU: kill switch 2022-11-12 11:21:16 +00:00
configs
debug Merge tag 'ASB-2021-04-05_4.19-stable' of https://github.com/aosp-mirror/kernel_common into android12-base 2022-02-26 15:09:41 +05:30
dma Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-07-09 10:34:17 +05:30
events mm/mmap.c: use IS_ERR_VALUE to check return value of get_unmapped_area 2022-11-12 11:21:20 +00:00
gcov This is the 4.19.262 stable release 2022-10-30 16:23:17 +01:00
irq kernel: Only set one CPU in the default IRQ affinity mask 2022-11-12 11:23:59 +00:00
livepatch livepatch: fix race between fork and KLP transition 2022-10-26 13:19:23 +02:00
locking Revert "mutex: Add a delay into the SPIN_ON_OWNER wait loop." 2022-11-12 11:24:02 +00:00
power PM: sleep: Don't allow s2idle to be used 2022-11-12 11:24:08 +00:00
printk printk: silence healthd and batteryd logs 2022-11-12 11:19:57 +00:00
rcu rcu: fix a performance regression 2022-11-12 11:19:51 +00:00
sched sched/core: Use SCHED_RR in place of SCHED_FIFO for all users 2022-11-12 11:24:09 +00:00
time UPSTREAM: hrtimer: Consolidate hrtimer_init() + hrtimer_init_sleeper() calls 2022-11-12 11:23:54 +00:00
trace Merge branch 'android-4.19-stable' of https://github.com/aosp-mirror/kernel_common into skizo-x 2022-11-12 11:18:12 +00:00
.gitignore
acct.c
async.c Revert "module, async: async_synchronize_full() on module init iff async is used" 2022-02-23 11:58:38 +01:00
audit_fsnotify.c audit: fix potential double free on error path from fsnotify_add_inode_mark 2022-09-05 10:26:28 +02:00
audit_tree.c
audit_watch.c
audit.c audit: improve audit queue handling when "audit=1" on cmdline 2022-02-08 18:23:13 +01:00
audit.h
auditfilter.c
auditsc.c
backtracetest.c
bounds.c FROMLIST: mm: multi-gen LRU: minimal implementation 2022-11-12 11:21:16 +00:00
capability.c
cfi.c
compat.c
configs.c
context_tracking.c
cpu_pm.c
cpu.c kernel: Add tri-cluster API to affine IRQs and kthreads to fast CPUs 2022-11-12 11:23:56 +00:00
crash_core.c
crash_dump.c
cred.c
delayacct.c
dma.c
exec_domain.c
exit.c UPSTREAM: pid: move pidfd_get_pid() to pid.c 2022-11-12 11:23:08 +00:00
extable.c
fail_function.c fail_function: Remove a redundant mutex unlock 2020-11-24 13:27:23 +01:00
fork.c UPSTREAM: locking/lockdep: Use lockdep_init_task for task initiation consistently 2022-11-12 11:23:40 +00:00
freezer.c
futex.c UPSTREAM: hrtimer: Consolidate hrtimer_init() + hrtimer_init_sleeper() calls 2022-11-12 11:23:54 +00:00
gen_kheaders.sh
groups.c
hung_task.c
iomem.c
irq_work.c
jump_label.c UPSTREAM: jump_label: Fix jump_label_text_reserved() vs __init 2022-11-12 11:23:21 +00:00
kallsyms.c
kcmp.c
Kconfig.freezer
Kconfig.hz
Kconfig.locks Revert "locking/rwsem: for rwsem prio aware enhancement" 2022-11-12 11:23:44 +00:00
Kconfig.preempt
kcov.c
kexec_core.c kernel: kexec: remove the lock operation of system_transition_mutex 2021-02-03 23:23:23 +01:00
kexec_file.c kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add] 2022-07-02 16:27:39 +02:00
kexec_internal.h
kexec.c
kheaders.c
kmod.c
kprobes.c kprobes: Prohibit probes in gate area 2022-09-15 12:17:05 +02:00
ksysfs.c
kthread.c This is the 4.19.197 stable release 2021-07-11 21:33:34 +02:00
latencytop.c
Makefile sys_ni: Fix cond_syscall() alias for LTO 2022-11-12 11:24:06 +00:00
memremap.c BACKPORT: mm: remove superfluous __ClearPageActive() 2022-11-12 11:21:13 +00:00
module_signing.c
module-internal.h
module.c Merge tag 'ASB-2022-03-05_4.19-stable' of https://github.com/aosp-mirror/kernel_common into android12-base 2022-03-08 06:44:12 +05:30
notifier.c
nsproxy.c
padata.c Revert "padata: validate cpumask without removed CPU during offline" 2021-08-09 16:20:31 +02:00
panic.c
params.c
pid_namespace.c memcg: enable accounting for pids in nested pid namespaces 2021-09-22 11:48:09 +02:00
pid.c UPSTREAM: pid: move pidfd_get_pid() to pid.c 2022-11-12 11:23:08 +00:00
profile.c profiling: fix shift too large makes kernel panic 2022-08-25 11:15:20 +02:00
ptrace.c ptrace: Reimplement PTRACE_KILL by always sending SIGKILL 2022-06-14 16:59:14 +02:00
range.c
reboot.c Merge 4.19.158 into android-4.19-stable 2020-11-19 12:25:33 +01:00
relay.c
resource.c
rseq.c
scs.c
seccomp.c seccomp: Invalidate seccomp mode to catch death failures 2022-02-16 12:51:47 +01:00
signal.c BACKPORT: pidfd: add P_PIDFD to waitid() 2022-11-12 11:23:08 +00:00
smp.c smp: Fix smp_call_function_single_async prototype 2022-05-11 07:51:40 +05:30
smpboot.c kthread: Extract KTHREAD_IS_PER_CPU 2021-02-07 14:48:38 +01:00
smpboot.h
softirq.c
stacktrace.c
stop_machine.c UPSTREAM: stop_machine: Fix stop_cpus_in_progress ordering 2022-11-12 11:20:54 +00:00
sys_ni.c BACKPORT: mm/madvise: introduce process_madvise() syscall: an external memory hinting API 2022-11-12 11:23:10 +00:00
sys.c This is the 4.19.208 stable release 2021-10-04 19:05:27 +02:00
sysctl_binary.c
sysctl.c mm: compaction: allow using different proactiveness value depending on the screen state 2022-11-12 11:22:27 +00:00
task_work.c
taskstats.c
test_kprobes.c
torture.c
tracepoint.c tracepoint: Add tracepoint_probe_register_may_exist() for BPF tracing 2021-07-20 16:15:42 +02:00
tsacct.c taskstats: Cleanup the use of task->exit_code 2022-02-23 11:58:39 +01:00
ucount.c
uid16.c
uid16.h
umh.c
up.c smp: Fix smp_call_function_single_async prototype 2022-05-11 07:51:40 +05:30
user_namespace.c
user-return-notifier.c
user.c
utsname_sysctl.c
utsname.c
watchdog_hld.c
watchdog.c Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-09-22 14:02:10 +05:30
workqueue_internal.h
workqueue.c workqueue: Affine unbound workqueues to little CPUs by default 2022-11-12 11:24:10 +00:00