diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2024-06-07 18:14:29 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-06-24 22:25:08 -0700 |
commit | e7679a5c820d0865d0900931a7341048d830917d (patch) | |
tree | 6416dcc8e74010544e16616ad1c6d48c044b9655 /net/bridge | |
parent | d0bff054053f7a46a3819aba55ad803aa639ed7e (diff) |
proc: test "Kthread:" field
/proc/${pid}/status got Kthread field recently.
Test that userspace program is not reported as kernel thread.
Test that kernel thread is reported as kernel thread.
Use kthreadd with pid 2 for this.
Link: https://lkml.kernel.org/r/818c4c41-8668-4566-97a9-7254abf819ee@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Chunguang Wu <fullspring2018@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions