[Devel] [PATCH vz9 v2] mm: per memory cgroup page cache limit

2023-01-20 Thread Alexander Atanasov
From: Andrey Ryabinin Forward port feature: mm: per memory cgroup page cache limit. The original implementation consisted of these commits: commit 758d52e33a67 ("configs: Enable CONFIG_PAGE_EXTENSION") commit 741beaa93c89 ("mm: introduce page vz extension (using page_ext)") commit d42d3c8b849d

[Devel] [PATCH vz7 2/2] ploop: add device name to log messages

2023-01-20 Thread Alexander Atanasov
Add logging macros that take ploop object and print device name in the generated log message. Switch pr_* macros to coresponging PL_* macros. No functional changes. https://jira.sw.ru/browse/PSBM-144575 Signed-off-by: Alexander Atanasov --- drivers/block/ploop/dev.c | 78 ++-

[Devel] [PATCH vz7 1/2] ploop: convert printk to pr_nnnn

2023-01-20 Thread Alexander Atanasov
Unify logging along ploop in preparation to add device names to log messages where possible. No functional changes. https://jira.sw.ru/browse/PSBM-144575 Signed-off-by: Alexander Atanasov --- drivers/block/ploop/dev.c | 53 ++--- drivers/block/ploop/fmt_ploop1.

Re: [Devel] [vz7 v2 PATCH 2/2] devcg: Allow wildcard exceptions in DENY child cgroups

2023-01-20 Thread Pavel Tikhomirov
I don't like this behavior: [root@ptikh-vz7 ~]# mkdir /sys/fs/cgroup/devices/test1 [root@ptikh-vz7 ~]# echo "a *:* rwmM" > /sys/fs/cgroup/devices/test1/devices.deny [root@ptikh-vz7 ~]# cat /sys/fs/cgroup/devices/test1/devices.list [root@ptikh-vz7 ~]# echo "c *:* rwm" > /sys/fs/cgroup/devices/t

Re: [Devel] [PATCH vz9 v2] mm: per memory cgroup page cache limit

2023-01-20 Thread Konstantin Khorenko
On 20.01.2023 09:47, Alexander Atanasov wrote: From: Andrey Ryabinin After applying this patch using "git am", the original author is lost. Please resend so the original author is kept. Forward port feature: mm: per memory cgroup page cache limit. The original implementation consisted of

Re: [Devel] [PATCH vz9 v2] mm: per memory cgroup page cache limit

2023-01-20 Thread Pavel Tikhomirov
On 20.01.2023 11:47, Alexander Atanasov wrote: From: Andrey Ryabinin Forward port feature: mm: per memory cgroup page cache limit. The original implementation consisted of these commits: commit 758d52e33a67 ("configs: Enable CONFIG_PAGE_EXTENSION") commit 741beaa93c89 ("mm: introduce page

[Devel] [PATCH vz9 v3] mm: per memory cgroup page cache limit

2023-01-20 Thread Alexander Atanasov
From: Andrey Ryabinin Forward port feature: mm: per memory cgroup page cache limit. The original implementation consisted of these commits: commit 758d52e33a67 ("configs: Enable CONFIG_PAGE_EXTENSION") commit 741beaa93c89 ("mm: introduce page vz extension (using page_ext)") commit d42d3c8b849d (