diff options
author | 2024-07-01 01:34:10 +0000 | |
---|---|---|
committer | 2024-07-10 12:14:54 -0700 | |
commit | 9325585288f2742b4b6effd5246154c374b9100f (patch) | |
tree | f6ea728e4d8eff5a5decb5cfacf64913c5fbd764 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | kernel/fork.c: get totalram_pages from memblock to calculate max_threads (diff) | |
download | wireguard-linux-9325585288f2742b4b6effd5246154c374b9100f.tar.xz wireguard-linux-9325585288f2742b4b6effd5246154c374b9100f.zip |
kernel/fork.c: put set_max_threads()/task_struct_whitelist() in __init section
The functions set_max_threads() and task_struct_whitelist() are only used
by fork_init() during bootup.
Let's add __init tag to them.
Link: https://lkml.kernel.org/r/20240701013410.17260-2-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions