diff options
| author | Wei Yang <[email protected]> | 2024-07-01 01:34:10 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-10 12:14:54 -0700 |
| commit | 9325585288f2742b4b6effd5246154c374b9100f (patch) | |
| tree | f6ea728e4d8eff5a5decb5cfacf64913c5fbd764 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 66b4aaf7335c9e7f59ba93a45379ba2bbfe1b913 (diff) | |
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/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Suggested-by: Oleg Nesterov <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Mike Rapoport (IBM) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions