Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942604 - dev-util/smem requires CONFIG_PROC_PAGE_MONITOR
Summary: dev-util/smem requires CONFIG_PROC_PAGE_MONITOR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-31 14:43 UTC by CaptainBlood
Modified: 2024-11-02 12:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-10-31 14:43:54 UTC
/proc/pid/smaps is required

CONFIG_PROC_PAGE_MONITOR:                                               │  
  │                                                                         │  
  │ Various /proc files exist to monitor process memory utilization:        │  
  │ /proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,               │  
  │ /proc/kpagecount, and /proc/kpageflags. Disabling these                 │  
  │ interfaces will reduce the size of the kernel by approximately 4kb.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-11-02 12:06:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0faaddd1ccc380203b1054e05bb6e1d00ff7a5c

commit b0faaddd1ccc380203b1054e05bb6e1d00ff7a5c
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-11-02 11:39:12 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-11-02 12:05:31 +0000

    dev-util/smem: add check for PROC_PAGE_MONITOR
    
    Closes: https://bugs.gentoo.org/942604
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-util/smem/{smem-1.5-r2.ebuild => smem-1.5-r3.ebuild} | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)