[LTP] build: Parallelize subdirectory recursion in generic_trunk_target
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Tue Oct 20 16:49:56 CEST 2026
Hi Andrea,
On 20 Oct 2026, Andrea Cervesato wrote:
> build: Parallelize subdirectory recursion in generic_trunk_target
> diff --git a/testcases/kernel/Makefile b/testcases/kernel/Makefile
> +syscalls-all mem-all: lib-all
Medium: running make -j8 directly in testcases/kernel/syscalls or
testcases/kernel/mem bypasses this parent dependency, allowing sibling
leaves to rebuild the same missing libkerntest.a concurrently.
This races object/archive writes and can cause intermittent link failures.
Build shared prerequisites once at these subtree entry points before
launching their children.
Verdict - Needs revision
---
Note:
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list