[Devel] [PATCH rh7 v3] slub: introduce static_key switch for unlimited_slabs tweak

2024-09-11 Thread Konstantin Khorenko
Introduce 2 ways to setup/configure "unlimited_slabs" tweak: 1. "slub.unlimited_slabs=" kernel boot option * "slub.unlimited_slabs=1" to enable the tweak * "slub.unlimited_slabs=0" to disable the tweak 2. /sys/kernel/debug/unlimited_slabs entry * echo 1 > /sys/module/slub/parameters/

[Devel] [PATCH RHEL7 COMMIT] ms/slub: relocate freelist pointer to middle of object

2024-09-11 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-1160.119.1.vz7.224.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh7-3.10.0-1160.119.1.vz7.224.2 --> commit 44070c8d8f608b01b771ca1234a81ffcfe63f377 Author: Kees Cook Date: Mon Jul 1 19:04:41 2024 +0800 ms/slub: reloca

[Devel] [PATCH RHEL7 COMMIT] ms/mm/slub: fix incorrect interpretation of s->offset

2024-09-11 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-1160.119.1.vz7.224.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh7-3.10.0-1160.119.1.vz7.224.2 --> commit bf3539811d0e4f4b5e9556ce336b8c47cb5b7577 Author: Waiman Long Date: Thu Jul 11 16:12:55 2024 +0800 ms/mm/slub:

[Devel] [PATCH RHEL7 COMMIT] slub_debug: fail allocation on a bad freelist pointer

2024-09-11 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-1160.119.1.vz7.224.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh7-3.10.0-1160.119.1.vz7.224.2 --> commit 7ce13bd7449c9d411ae3376dfd432e35b14a75cc Author: Pavel Tikhomirov Date: Wed Jul 3 16:11:58 2024 +0800 slub_deb

[Devel] [PATCH RHEL7 COMMIT] slab: ignore memcg limits during marked SLAB allocations

2024-09-11 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-1160.119.1.vz7.224.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh7-3.10.0-1160.119.1.vz7.224.2 --> commit 60b13e1aedc949d3003ef9f8f42ee0828f9adb0e Author: Konstantin Khorenko Date: Tue Jul 2 21:01:51 2024 +0300 slab:

[Devel] [PATCH RHEL7 COMMIT] slub: introduce static_key switch for unlimited_slabs tweak

2024-09-11 Thread Konstantin Khorenko
The commit is pushed to "branch-rh7-3.10.0-1160.119.1.vz7.224.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh7-3.10.0-1160.119.1.vz7.224.2 --> commit fc4e48b818feb3e97cd6c4347f3a18c42661ee34 Author: Konstantin Khorenko Date: Thu Sep 5 13:57:29 2024 +0300 slub: