diff options
author | Jiazi Li <jqqlijiazi@gmail.com> | 2025-06-20 18:07:56 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-07-09 22:57:55 -0700 |
commit | fed307b67c5bbb17b72c54816cd1bce61c23b4d7 (patch) | |
tree | 549049ee8c625a9ec2eebcc5c49c0d35dab57a1e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | caf728dfa7789f7096e8cd4341b4bf8f671f5c1d (diff) |
kthread: update comment for __to_kthread
With commit 343f4c49f243 ("kthread: Don't allocate kthread_struct for init
and umh") and commit 753550eb0ce1 ("fork: Explicitly set PF_KTHREAD"), umh
task no longer have struct kthread and PF_KTHREAD flag.
Update the comment to describe what the current rules are to detect
is something is a kthread.
Link: https://lkml.kernel.org/r/20250620100801.23185-1-jqqlijiazi@gmail.com
Signed-off-by: Jiazi Li <jqqlijiazi@gmail.com>
Signed-off-by: mingzhu.wang <mingzhu.wang@transsion.com>
Suggested-by Eric W . Biederman <ebiederm@xmission.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions