Bug#949272: linux: The task_struct structure is defined on multiples variables.
Source: linux
Severity: normal
Hi the task_structure is defined on :
ksoftirqd file kernel/softirq.c
current file arch/x86/include/asm/current.h
curr->rq on rq structure and others
When you need to ensure as task is running need to read alls these variable and
is fortune if task is running , fortune when this variables is actualised
correct, on conclusion bib, big mistake.
-- System Information:
Debian Release: 10.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.6+ (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: