Defined in 1 files as a function:
Referenced in 9 files:
- arch/x86/kernel/cpu/bugs.c
- arch/x86/kvm/vmx/vmx.c, line 7783
- drivers/idle/intel_idle.c, line 208
- kernel/cpu.c, line 2990
- kernel/sched/core_sched.c, line 139
- kernel/sched/ext/idle.c
- kernel/sched/fair.c
- kernel/sched/sched.h, line 1725
- kernel/sched/topology.c, line 238
Smatch caller information:
kernel/sched/build_policy.c update_idle_core() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/idle/intel_idle.c intel_idle_ibrs() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | irq |
kernel/sched/build_utility.c sched_core_share_pid() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|
kernel/sched/build_utility.c sched_is_eas_possible() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &sched_domains_mutex |
kernel/sched/fair.c asym_fits_cpu() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->pi_lock | ||
| HALF_LOCKED2 | &p->sighand->siglock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/sched/fair.c find_new_ilb() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c find_new_ilb() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c numa_idle_core() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mm->mmap_lock |
kernel/sched/fair.c sched_balance_find_src_rq() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | busiest | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
kernel/sched/fair.c sched_use_asym_prio() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/sched/fair.c select_idle_capacity() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->pi_lock | ||
| HALF_LOCKED2 | &p->sighand->siglock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/sched/fair.c select_idle_sibling() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &p->pi_lock | ||
| HALF_LOCKED2 | &p->sighand->siglock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct task_struct)->pi_lock |
kernel/sched/fair.c should_we_balance() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | busiest | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
kernel/sched/fair.c update_sd_lb_stats() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | busiest | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
kernel/cpu.c active_show() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c cpu_bugs_smt_update() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c l1tf_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c l1tf_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c mds_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c mds_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c mmio_stale_data_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c retbleed_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c spectre_v2_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c tsx_async_abort_show_state() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/bugs.c unpriv_ebpf_notify() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kernel/cpu/bugs.c update_indir_branch_cond() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c update_mds_branch_idle() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kernel/cpu/bugs.c update_stibp_strict() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &spec_ctrl_mutex | ||
| HALF_LOCKED2 | global &cpu_add_remove_lock |
arch/x86/kvm/vmx/vmx.c vmx_vm_init() -> sched_smt_active()
| Type | Parameter | Key | Value |
|---|