configs: enable CONFIG_ANON_VMA_NAME

Open
#7,008 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux

Research direction

Start by locating the Raspberry Pi 5 kernel configuration and checking how CONFIG_ANON_VMA_NAME is set during the kernel build. Verify the resulting /proc/config.gz reports the option enabled and that the PR_SET_VMA_ANON_NAME feature is available on the affected device.

Written by the indexing model from the issue text.

Description

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

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.