kernel: kthread_cpus argument parser overutilizes the stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
M. Vefa Bicakci |
Bug Description
Brief Description
-----------------
Since commit https:/
CONFIG_
CONFIG_
CONFIG_
CONFIG_
which results in the following compilation-time warning:
CC kernel/cpu.o
kernel/cpu.c: In function 'kthread_setup':
kernel/
Please note that the configuration quoted above is *not* used by StarlingX, so the bug being fixed (large stack allocation) will become applicable only if CONFIG_MAXSMP is set to 'y' in the future (or when a large CONFIG_NR_CPUS value is used with CONFIG_
Severity
--------
Minor: Given that this issue does not affect StarlingX due to its current kernel configuration, this is a minor issue, but I would like to fix it regardless.
Steps to Reproduce
------------------
Please see above for the build configuration that reproduces the warning.
Expected Behavior
------------------
No kernel build warnings
Actual Behavior
----------------
Kernel build warning about kthread_setup function's frame size exceeding 1KiB.
Reproducibility
---------------
100%
System Configuration
-------
Not applicable.
Branch/Pull Time/Commit
-------
The issue is reproduced since the merge of the commit at https:/
Last Pass
---------
Not applicable.
Timestamp/Logs
--------------
Please see the issue description.
Test Activity
-------------
Exploratory developer testing
Workaround
----------
None.
Changed in starlingx: | |
assignee: | nobody → M. Vefa Bicakci (vbicakci) |
status: | New → Confirmed |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.7.0 stx.distro.other |
Fix proposed to branch: master /review. opendev. org/c/starlingx /kernel/ +/824460
Review: https:/