summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2023-08-21 11:44:40 -0400
committerSteve Sakoman <steve@sakoman.com>2023-09-04 04:13:24 -1000
commit81d471ccbaae55c51e8d0002ddb4ad67dfcb2ca9 (patch)
tree20c96b633072f8b5ca619d87991c3ae86410f793 /scripts/lib/build_perf
parenta76e75e0f1578745ed3500ae1417596a6c20cf33 (diff)
downloadpoky-81d471ccbaae55c51e8d0002ddb4ad67dfcb2ca9.tar.gz
linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup
Integrating the following commit(s) to linux-yocto/6.1: 4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus setup The carry forward of commit from the v5.15 linux-yocto kernel: https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922 ...in which case the sanity checks are properly *after* the allocation and processing of the bootargs into the cpumask. However, it seems patch (or wiggle?) apparently decided to put the sanity checks *before* the population of the cpumask during the carry-forward and generation of the new v6.1 kernel. Meaning they are validating uninitialized memory and hence nohz_full= and isolcpus= are subject to random failures even for valid input ranges. (From OE-Core rev: 4b349ee66eab8ebe3150ac4c1b449ea5c264a5be) (From OE-Core rev: 5caea18a41d184c15e0685191364eb659a84ee59) Signed-off-by: Adrian Cinal <adriancinal1@gmail.com> Acked-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 92642acd1166b7990fb520337b78a4d37ce7cbe4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/build_perf')
0 files changed, 0 insertions, 0 deletions