[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Virtual Memory Limits
From: |
dnietoc |
Subject: |
[PATCH] Virtual Memory Limits |
Date: |
Mon, 16 Jun 2025 23:58:05 +0100 |
From: Diego Nieto Cid <dnietoc@gmail.com>
Hello,
These are all the patches in the series of virtual memory limits
support, through the POSIX setrlimit's RLIMIT_AS resource. It
encompasses changes to gnumach, hurd and glibc.
I tested the glibc part using a simple program that sets a limit
of 1GB and then tries to mmap a bigger chunk of memory. It was run
using the script provided by the library, testrun.sh.
The gnumach part has it's own test in the kernel test suite.
What I couldn't test is the Hurd patch, particularly the translators
like ext2fs which must be started with settrans and I didn't find a
way to use the patched glibc. (I'm not sure how to use testrun.sh
from glibc in a settrans call)
Any comments appreciated :)
Thanks,
Diego
- [PATCH] Virtual Memory Limits,
dnietoc <=