[Devel] [RFC PATCH 0/1]
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Mon Nov 17 06:27:51 MSK 2025
In case of single patch cover-letter is not required. Please merge the below description into the patch itself.
Also please don't leave cover-letter subject blank when you use it.
On 11/14/25 20:14, Dmitry Sepp wrote:
> This patch is intended to introduce a basic test set to verify memory.cache
> behavior. I've encountered several limitations while running the tests:
> - Migration from one group to another is not supported. Page cache size
> restrictions of the destination group are not applied.
> - Page cache usage accounting seems to be rather lazy/imprecise. I introduced
> some "tolerance" of 15% of the maximum allowed page cache size but even
> after two seconds the reported current value lies outside of the boundaries
> (usually way below), which causes the test to fail.
>
> Dmitry Sepp (1):
> selftests: cgroup: test page cache limiting feature
>
> tools/testing/selftests/cgroup/Makefile | 4 +-
> tools/testing/selftests/cgroup/test_cache.sh | 254 +++++++++++++++++++
> tools/testing/selftests/cgroup/touch_pages.c | 97 +++++++
> 3 files changed, 354 insertions(+), 1 deletion(-)
> create mode 100755 tools/testing/selftests/cgroup/test_cache.sh
> create mode 100644 tools/testing/selftests/cgroup/touch_pages.c
>
--
Best regards, Pavel Tikhomirov
Senior Software Developer, Virtuozzo.
More information about the Devel
mailing list