diff options
| author | Wei Yang <richard.weiyang@gmail.com> | 2024-07-01 04:34:10 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-07-10 22:14:54 +0300 |
| commit | 9325585288f2742b4b6effd5246154c374b9100f (patch) | |
| tree | f6ea728e4d8eff5a5decb5cfacf64913c5fbd764 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 66b4aaf7335c9e7f59ba93a45379ba2bbfe1b913 (diff) | |
| download | linux-9325585288f2742b4b6effd5246154c374b9100f.tar.xz | |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
