Test: Difference between revisions
Scottviger (talk | contribs) No edit summary |
Scottviger (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Transclude_latest}} | |||
{{ | |||
== All Versions == | |||
{{Special:PrefixIndex/{{FULLPAGENAME}}/|stripprefix=1|hideredirects=1}} |
Latest revision as of 16:19, 20 August 2025
pls complete summary
More infos
pls complete more info
Components
Struct: task_struct
File: include/linux/sched.h (Line 629)
Version: v5.6.1
Members:
Type | Name | Description | ||||
---|---|---|---|---|---|---|
− #ifdef CONFIG_THREAD_INFO_IN_TASK | ||||||
struct thread_info | thread_info | |||||
#endif | ||||||
volatile long | state | |||||
void | *stack | |||||
refcount_t | usage | |||||
unsigned int | flags | This is an int | ||||
unsigned int | ptrace | This is an int | ||||
− #ifdef CONFIG_SMP | ||||||
struct llist_node | wake_entry | |||||
int | on_cpu | This is an int | ||||
− #ifdef CONFIG_THREAD_INFO_IN_TASK | ||||||
unsigned int | cpu | This is an int | ||||
#endif | ||||||
unsigned int | wakee_flips | This is an int | ||||
unsigned long | wakee_flip_decay_ts | |||||
struct task_struct | *last_wakee | |||||
int | recent_used_cpu | This is an int | ||||
int | wake_cpu | This is an int | ||||
#endif | ||||||
int | on_rq | This is an int | ||||
int | prio | This is an int | ||||
int | static_prio | This is an int | ||||
int | normal_prio | This is an int | ||||
unsigned int | rt_priority | This is an int | ||||
const struct sched_class | *sched_class | |||||
struct sched_entity | se | |||||
struct sched_rt_entity | rt | |||||
− #ifdef CONFIG_CGROUP_SCHED | ||||||
struct task_group | *sched_task_group | |||||
#endif | ||||||
struct sched_dl_entity | dl | |||||
− #ifdef CONFIG_UCLAMP_TASK | ||||||
struct uclamp_se | uclamp_req[UCLAMP_CNT] | |||||
struct uclamp_se | uclamp[UCLAMP_CNT] | |||||
#endif | ||||||
− #ifdef CONFIG_PREEMPT_NOTIFIERS | ||||||
struct hlist_head | preempt_notifiers | |||||
#endif | ||||||
− #ifdef CONFIG_BLK_DEV_IO_TRACE | ||||||
unsigned int | btrace_seq | This is an int | ||||
#endif | ||||||
unsigned int | policy | This is an int | ||||
int | nr_cpus_allowed | This is an int | ||||
const cpumask_t | *cpus_ptr | |||||
cpumask_t | cpus_mask | |||||
− #ifdef CONFIG_PREEMPT_RCU | ||||||
int | rcu_read_lock_nesting | This is an int | ||||
union rcu_special | rcu_read_unlock_special | |||||
struct list_head | rcu_node_entry | pls complete summary | ||||
struct rcu_node | *rcu_blocked_node | |||||
#endif /* #ifdef CONFIG_PREEMPT_RCU */ | ||||||
− #ifdef CONFIG_TASKS_RCU | ||||||
unsigned long | rcu_tasks_nvcsw | |||||
u8 | rcu_tasks_holdout | Type:Test
| ||||
u8 | rcu_tasks_idx | Type:Test
| ||||
int | rcu_tasks_idle_cpu | This is an int | ||||
struct list_head | rcu_tasks_holdout_list | pls complete summary | ||||
#endif /* #ifdef CONFIG_TASKS_RCU */ | ||||||
struct sched_info | sched_info | |||||
struct list_head | tasks | pls complete summary | ||||
− #ifdef CONFIG_SMP | ||||||
struct plist_node | pushable_tasks | |||||
struct rb_node | pushable_dl_tasks | |||||
#endif | ||||||
struct mm_struct | *mm | |||||
struct mm_struct | *active_mm | |||||
struct vmacache | vmacache | |||||
− #ifdef SPLIT_RSS_COUNTING | ||||||
struct task_rss_stat | rss_stat | |||||
#endif | ||||||
int | exit_state | This is an int | ||||
int | exit_code | This is an int | ||||
int | exit_signal | This is an int | ||||
int | pdeath_signal | This is an int | ||||
unsigned long | jobctl | |||||
unsigned int | personality | This is an int | ||||
unsigned | sched_reset_on_fork:1 | |||||
unsigned | sched_contributes_to_load:1 | |||||
unsigned | sched_migrated:1 | |||||
unsigned | sched_remote_wakeup:1 | |||||
− #ifdef CONFIG_PSI | ||||||
unsigned | sched_psi_wake_requeue:1 | |||||
#endif | ||||||
unsigned | :0 | |||||
unsigned | in_execve:1 | |||||
unsigned | in_iowait:1 | |||||
− #ifndef TIF_RESTORE_SIGMASK | ||||||
unsigned | restore_sigmask:1 | |||||
#endif | ||||||
− #ifdef CONFIG_MEMCG | ||||||
unsigned | in_user_fault:1 | |||||
#endif | ||||||
− #ifdef CONFIG_COMPAT_BRK | ||||||
unsigned | brk_randomized:1 | |||||
#endif | ||||||
− #ifdef CONFIG_CGROUPS | ||||||
unsigned | no_cgroup_migration:1 | |||||
unsigned | frozen:1 | |||||
#endif | ||||||
− #ifdef CONFIG_BLK_CGROUP | ||||||
unsigned | use_memdelay:1 | |||||
#endif | ||||||
struct restart_block | restart_block | |||||
pid_t | pid | |||||
pid_t | tgid | |||||
− #ifdef CONFIG_STACKPROTECTOR | ||||||
unsigned long | stack_canary | |||||
#endif | ||||||
struct task_struct __rcu | *real_parent | |||||
struct task_struct __rcu | *parent | |||||
struct list_head | children | pls complete summary | ||||
struct list_head | sibling | pls complete summary | ||||
struct task_struct | *group_leader | |||||
struct list_head | ptraced | pls complete summary | ||||
struct list_head | ptrace_entry | pls complete summary | ||||
struct pid | *thread_pid | |||||
struct hlist_node | pid_links[PIDTYPE_MAX] | |||||
struct list_head | thread_group | pls complete summary | ||||
struct list_head | thread_node | pls complete summary | ||||
struct completion | *vfork_done | |||||
int __user | *set_child_tid | |||||
int __user | *clear_child_tid | |||||
u64 | utime | |||||
u64 | stime | |||||
− #ifdef CONFIG_ARCH_HAS_SCALED_CPUTIME | ||||||
u64 | utimescaled | |||||
u64 | stimescaled | |||||
#endif | ||||||
u64 | gtime | |||||
struct prev_cputime | prev_cputime | |||||
− #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN | ||||||
struct vtime | vtime | |||||
#endif | ||||||
− #ifdef CONFIG_NO_HZ_FULL | ||||||
atomic_t | tick_dep_mask | |||||
#endif | ||||||
unsigned long | nvcsw | |||||
unsigned long | nivcsw | |||||
u64 | start_time | |||||
u64 | start_boottime | |||||
unsigned long | min_flt | |||||
unsigned long | maj_flt | |||||
struct posix_cputimers | posix_cputimers | |||||
const struct cred __rcu | *ptracer_cred | |||||
const struct cred __rcu | *real_cred | |||||
const struct cred __rcu | *cred | |||||
− #ifdef CONFIG_KEYS | ||||||
struct key | *cached_requested_key | |||||
#endif | ||||||
char | comm[TASK_COMM_LEN] | |||||
struct nameidata | *nameidata | |||||
− #ifdef CONFIG_SYSVIPC | ||||||
struct sysv_sem | sysvsem | |||||
struct sysv_shm | sysvshm | |||||
#endif | ||||||
− #ifdef CONFIG_DETECT_HUNG_TASK | ||||||
unsigned long | last_switch_count | |||||
unsigned long | last_switch_time | |||||
#endif | ||||||
struct fs_struct | *fs | |||||
struct files_struct | *files | |||||
struct nsproxy | *nsproxy | |||||
struct signal_struct | *signal | |||||
struct sighand_struct __rcu | *sighand | |||||
sigset_t | blocked | |||||
sigset_t | real_blocked | |||||
sigset_t | saved_sigmask | |||||
struct sigpending | pending | |||||
unsigned long | sas_ss_sp | |||||
size_t | sas_ss_size | |||||
unsigned int | sas_ss_flags | This is an int | ||||
struct callback_head | *task_works | |||||
− #ifdef CONFIG_AUDIT | ||||||
− #ifdef CONFIG_AUDITSYSCALL | ||||||
struct audit_context | *audit_context | |||||
#endif | ||||||
kuid_t | loginuid | |||||
unsigned int | sessionid | This is an int | ||||
#endif | ||||||
struct seccomp | seccomp | |||||
u32 | parent_exec_id | |||||
u32 | self_exec_id | |||||
spinlock_t | alloc_lock | |||||
raw_spinlock_t | pi_lock | |||||
struct wake_q_node | wake_q | |||||
− #ifdef CONFIG_RT_MUTEXES | ||||||
struct rb_root_cached | pi_waiters | |||||
struct task_struct | *pi_top_task | |||||
struct rt_mutex_waiter | *pi_blocked_on | |||||
#endif | ||||||
− #ifdef CONFIG_DEBUG_MUTEXES | ||||||
struct mutex_waiter | *blocked_on | |||||
#endif | ||||||
− #ifdef CONFIG_DEBUG_ATOMIC_SLEEP | ||||||
int | non_block_count | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_TRACE_IRQFLAGS | ||||||
unsigned int | irq_events | This is an int | ||||
unsigned long | hardirq_enable_ip | |||||
unsigned long | hardirq_disable_ip | |||||
unsigned int | hardirq_enable_event | This is an int | ||||
unsigned int | hardirq_disable_event | This is an int | ||||
int | hardirqs_enabled | This is an int | ||||
int | hardirq_context | This is an int | ||||
unsigned long | softirq_disable_ip | |||||
unsigned long | softirq_enable_ip | |||||
unsigned int | softirq_disable_event | This is an int | ||||
unsigned int | softirq_enable_event | This is an int | ||||
int | softirqs_enabled | This is an int | ||||
int | softirq_context | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_LOCKDEP | ||||||
u64 | curr_chain_key | |||||
int | lockdep_depth | This is an int | ||||
unsigned int | lockdep_recursion | This is an int | ||||
struct held_lock | held_locks[MAX_LOCK_DEPTH] | |||||
#endif | ||||||
− #ifdef CONFIG_UBSAN | ||||||
unsigned int | in_ubsan | This is an int | ||||
#endif | ||||||
void | *journal_info | |||||
struct bio_list | *bio_list | |||||
− #ifdef CONFIG_BLOCK | ||||||
struct blk_plug | *plug | |||||
#endif | ||||||
struct reclaim_state | *reclaim_state | |||||
struct backing_dev_info | *backing_dev_info | |||||
struct io_context | *io_context | |||||
− #ifdef CONFIG_COMPACTION | ||||||
struct capture_control | *capture_control | |||||
#endif | ||||||
unsigned long | ptrace_message | |||||
kernel_siginfo_t | *last_siginfo | |||||
struct task_io_accounting | ioac | |||||
− #ifdef CONFIG_PSI | ||||||
unsigned int | psi_flags | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_TASK_XACCT | ||||||
u64 | acct_rss_mem1 | |||||
u64 | acct_vm_mem1 | |||||
u64 | acct_timexpd | |||||
#endif | ||||||
− #ifdef CONFIG_CPUSETS | ||||||
nodemask_t | mems_allowed | |||||
seqcount_t | mems_allowed_seq | |||||
int | cpuset_mem_spread_rotor | This is an int | ||||
int | cpuset_slab_spread_rotor | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_CGROUPS | ||||||
struct css_set __rcu | *cgroups | |||||
struct list_head | cg_list | pls complete summary | ||||
#endif | ||||||
− #ifdef CONFIG_X86_CPU_RESCTRL | ||||||
u32 | closid | |||||
u32 | rmid | |||||
#endif | ||||||
− #ifdef CONFIG_FUTEX | ||||||
struct robust_list_head __user | *robust_list | |||||
− #ifdef CONFIG_COMPAT | ||||||
struct compat_robust_list_head __user | *compat_robust_list | |||||
#endif | ||||||
struct list_head | pi_state_list | pls complete summary | ||||
struct futex_pi_state | *pi_state_cache | |||||
struct mutex | futex_exit_mutex | |||||
unsigned int | futex_state | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_PERF_EVENTS | ||||||
struct perf_event_context | *perf_event_ctxp[perf_nr_task_contexts] | |||||
struct mutex | perf_event_mutex | |||||
struct list_head | perf_event_list | pls complete summary | ||||
#endif | ||||||
− #ifdef CONFIG_DEBUG_PREEMPT | ||||||
unsigned long | preempt_disable_ip | |||||
#endif | ||||||
− #ifdef CONFIG_NUMA | ||||||
struct mempolicy | *mempolicy | |||||
short | il_prev | |||||
short | pref_node_fork | |||||
#endif | ||||||
− #ifdef CONFIG_NUMA_BALANCING | ||||||
int | numa_scan_seq | This is an int | ||||
unsigned int | numa_scan_period | This is an int | ||||
unsigned int | numa_scan_period_max | This is an int | ||||
int | numa_preferred_nid | This is an int | ||||
unsigned long | numa_migrate_retry | |||||
u64 | node_stamp | |||||
u64 | last_task_numa_placement | |||||
u64 | last_sum_exec_runtime | |||||
struct callback_head | numa_work | |||||
struct numa_group __rcu | *numa_group | |||||
unsigned long | *numa_faults | |||||
unsigned long | total_numa_faults | |||||
unsigned long | numa_faults_locality[3] | |||||
unsigned long | numa_pages_migrated | |||||
#endif /* CONFIG_NUMA_BALANCING */ | ||||||
− #ifdef CONFIG_RSEQ | ||||||
struct rseq __user | *rseq | |||||
u32 | rseq_sig | |||||
unsigned long | rseq_event_mask | |||||
#endif | ||||||
struct tlbflush_unmap_batch | tlb_ubc | |||||
refcount_t | rcu_users | |||||
struct rcu_head | rcu | |||||
struct pipe_inode_info | *splice_pipe | |||||
struct page_frag | task_frag | |||||
− #ifdef CONFIG_TASK_DELAY_ACCT | ||||||
struct task_delay_info | *delays | |||||
#endif | ||||||
− #ifdef CONFIG_FAULT_INJECTION | ||||||
int | make_it_fail | This is an int | ||||
unsigned int | fail_nth | This is an int | ||||
#endif | ||||||
int | nr_dirtied | This is an int | ||||
int | nr_dirtied_pause | This is an int | ||||
unsigned long | dirty_paused_when | |||||
− #ifdef CONFIG_LATENCYTOP | ||||||
int | latency_record_count | This is an int | ||||
struct latency_record | latency_record[LT_SAVECOUNT] | |||||
#endif | ||||||
u64 | timer_slack_ns | |||||
u64 | default_timer_slack_ns | |||||
− #ifdef CONFIG_KASAN | ||||||
unsigned int | kasan_depth | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_FUNCTION_GRAPH_TRACER | ||||||
int | curr_ret_stack | This is an int | ||||
int | curr_ret_depth | This is an int | ||||
struct ftrace_ret_stack | *ret_stack | |||||
unsigned long long | ftrace_timestamp | |||||
atomic_t | trace_overrun | |||||
atomic_t | tracing_graph_pause | |||||
#endif | ||||||
− #ifdef CONFIG_TRACING | ||||||
unsigned long | trace | |||||
unsigned long | trace_recursion | |||||
#endif /* CONFIG_TRACING */ | ||||||
− #ifdef CONFIG_KCOV | ||||||
unsigned int | kcov_mode | This is an int | ||||
unsigned int | kcov_size | This is an int | ||||
void | *kcov_area | |||||
struct kcov | *kcov | |||||
u64 | kcov_handle | |||||
int | kcov_sequence | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_MEMCG | ||||||
struct mem_cgroup | *memcg_in_oom | |||||
gfp_t | memcg_oom_gfp_mask | |||||
int | memcg_oom_order | This is an int | ||||
unsigned int | memcg_nr_pages_over_high | This is an int | ||||
struct mem_cgroup | *active_memcg | |||||
#endif | ||||||
− #ifdef CONFIG_BLK_CGROUP | ||||||
struct request_queue | *throttle_queue | |||||
#endif | ||||||
− #ifdef CONFIG_UPROBES | ||||||
struct uprobe_task | *utask | |||||
#endif | ||||||
− #if defined(CONFIG_BCACHE) || defined(CONFIG_BCACHE_MODULE) | && | |||||
unsigned int | sequential_io | This is an int | ||||
unsigned int | sequential_io_avg | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_DEBUG_ATOMIC_SLEEP | ||||||
unsigned long | task_state_change | |||||
#endif | ||||||
int | pagefault_disabled | This is an int | ||||
− #ifdef CONFIG_MMU | ||||||
struct task_struct | *oom_reaper_list | |||||
#endif | ||||||
− #ifdef CONFIG_VMAP_STACK | ||||||
struct vm_struct | *stack_vm_area | |||||
#endif | ||||||
− #ifdef CONFIG_THREAD_INFO_IN_TASK | ||||||
refcount_t | stack_refcount | |||||
#endif | ||||||
− #ifdef CONFIG_LIVEPATCH | ||||||
int | patch_state | This is an int | ||||
#endif | ||||||
− #ifdef CONFIG_SECURITY | ||||||
void | *security | |||||
#endif | ||||||
− #ifdef CONFIG_GCC_PLUGIN_STACKLEAK | ||||||
unsigned long | lowest_stack | |||||
unsigned long | prev_lowest_stack | |||||
#endif | ||||||
struct thread_struct | thread |