From c5b6529f103665eeb95df60de7288f6ce75f422f Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sun, 24 Mar 2024 19:19:33 -0500 Subject: [PATCH] templates: +missing limits.conf for gamemode/memlock --- .../templates/etc.security.limits.d.99-gamemode-memlock.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 roles/tuned_amdgpu/templates/etc.security.limits.d.99-gamemode-memlock.conf diff --git a/roles/tuned_amdgpu/templates/etc.security.limits.d.99-gamemode-memlock.conf b/roles/tuned_amdgpu/templates/etc.security.limits.d.99-gamemode-memlock.conf new file mode 100644 index 0000000..65ed9f4 --- /dev/null +++ b/roles/tuned_amdgpu/templates/etc.security.limits.d.99-gamemode-memlock.conf @@ -0,0 +1,3 @@ +{{ ansible_managed | comment }} +@gamemode soft memlock 1048576 +@gamemode hard memlock 1048576