diff options
author | Dawei Li <[email protected]> | 2024-04-10 21:13:59 +0800 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2024-05-04 12:50:42 +0200 |
commit | 4c97f0433de08ab4b52d7a2747daf44430c6d489 (patch) | |
tree | 764a3ac32d8c150d9b979bed13ee1b687d52128f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e3b3afd34d84efcbe4543deb966b1990f43584b8 (diff) |
watchdog/wdt-main: Use cpumask_of() to avoid cpumask var on stack
In general it's preferable to avoid placing cpumasks on the stack, as
for large values of NR_CPUS these can consume significant amounts of
stack space and make stack overflows more likely.
Use cpumask_of() to avoid the need for a temporary cpumask on the stack
Signed-off-by: Dawei Li <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/TYTP286MB3564B037A81DAAE1AC3A16F3CA062@TYTP286MB3564.JPNP286.PROD.OUTLOOK.COM
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions