Skip to content

configs: enable CONFIG_ANON_VMA_NAME #7008

@DCNick3

Description

@DCNick3

Describe the bug

PR_SET_VMA_ANON_NAME is a useful linux feature that allows you to give a name to a mapped memory range. It has been generally available in desktop linux since kernel 5.17. Its support, however, requires enabling CONFIG_ANON_VMA_NAME at kernel compile time, and it is disabled on Raspberry Pi 5 kernel.

It would be nice to see it enabled.

Steps to reproduce the behaviour

sudo modprobe configs
zcat /proc/config.gz | grep CONFIG_ANON_VMA_NAME
# CONFIG_ANON_VMA_NAME is not set

Device (s)

Raspberry Pi 5

System

cat /etc/rpi-issue:

Raspberry Pi reference 2024-11-19
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 891df1e21ed2b6099a2e6a13e26c91dea44b34d4, stage2

vcgencmd version:

2025/05/08 15:13:17 
Copyright (c) 2012 Broadcom
version 69471177 (release) (embedded)

uname -a:

Linux ninika-rpi 6.12.34+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26) aarch64 GNU/Linux

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions