On Fri Jul 10, 2026 at 7:05 PM CEST, Ishaan Desai via lists.openembedded.org wrote: > Adds a CLI tool and bbclass for applying per-service memory limits via > systemd resource control and Linux cgroups v2. > > The memory-control command inspects MemoryMax and MemoryHigh settings > for any running systemd service and lists all services with a drop-in > applied. > > memory-control.bbclass allows any recipe to set a memory limit at build > time by inheriting the class and setting MEMORY_LIMIT. Two OOM policies > are available via MEMORY_OOM_POLICY: "reboot" (default) reboots on OOM, > and "kill" terminates only the offending process. > > AI-Generated: Uses IBM Bob > > Signed-off-by: Ishaan Desai <[email protected]> > ---
Hi Ishaan, Thanks for your patch. It looks like this is breaking builds on some platforms: ERROR: Nothing RPROVIDES 'systemd' (but /srv/pokybuild/yocto-worker/no-x11/build/layers/openembedded-core/meta/recipes-support/memory-control/memory-control_1.0.bb RDEPENDS on or otherwise requires it) systemd was skipped: using DISTRO 'poky', which is missing required DISTRO_FEATURES: 'usrmerge systemd' NOTE: Runtime target 'systemd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['systemd'] NOTE: Runtime target 'memory-control' is unbuildable, removing... Missing or unbuildable dependency chain was: ['memory-control', 'systemd'] ERROR: Nothing RPROVIDES 'memory-control-dev' (but /srv/pokybuild/yocto-worker/no-x11/build/layers/openembedded-core/meta/recipes-support/memory-control/memory-control_1.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'memory-control-dev' NOTE: Runtime target 'memory-control-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['memory-control-dev'] https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/4115 https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/4141 https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/7643378/raw_inline Also, please add the corresponding entry in meta/conf/distro/include/maintainers.inc. Thanks, Mathieu -- Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240721): https://lists.openembedded.org/g/openembedded-core/message/240721 Mute This Topic: https://lists.openembedded.org/mt/120210280/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
