Repository navigation
boards/lm3s6965-ek: Disable System V message queues in qemu-protected. - #21321
Merged
Merged
Conversation
The kernel half of the qemu-protected flash is full again: the kernel image is 288 bytes larger than its 128 KiB (Arm GNU 13.2), and CI fails with "region `kflash' overflowed". Since msgget(), msgctl(), msgsnd() and msgrcv() became system calls, the system call table links their code into the kernel of every protected build. No program of this configuration uses System V message queues. Disable them. The kernel image is 1640 bytes smaller. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
casaroli
requested review from
acassis,
anchao,
masayuki2009,
xiaoxiang781216 and
yamt
as code owners
November 1, 2026 09:11
xiaoxiang781216
approved these changes
Nov 1, 2026
|
acassis
approved these changes
Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lm3s6965-ek:qemu-protectedgives the kernel image the first 128 KiB of flash. On master the kernel image does not fit any more: CI fails inarm-tiwithregion `kflash' overflowed by 280 bytesfor PRs that change no code of this configuration (#21146).Since #21105,
msgget(),msgctl(),msgsnd()andmsgrcv()are system calls, so the system call table links their code into the kernel of every protected build. No program of this configuration uses System V message queues. This PR setsCONFIG_DISABLE_MQUEUE_SYSV=y.Impact
lm3s6965-ek:qemu-protectedonly. CI builds this configuration (arm-ti) and runs nothing on it. No program in nuttx-apps usesmsgget().Testing
Arm GNU Toolchain 13.2.1 (the version CI uses), Make build, nuttx master 1080f14, nuttx-apps master b86baecee. Bytes used of 131072 in each half:
The defconfig is unchanged by
make savedefconfig.tools/checkpatch.sh -c -u -m -gpasses. I have not run the configuration under QEMU.