On 18.10.2021 15:50, Pavel Tikhomirov wrote:
> Patches are massively reworked, see inpatch comments.
>
> https://jira.sw.ru/browse/PSBM-134002
>
> Pavel Tikhomirov (1):
> ve/cgroup: fix cgroup_mark_ve_roots naming
>
> Valeriy Vdovin (5):
> cgroup/cfs: added 'activate' option to cgroup_add_fi
From: Valeriy Vdovin
To save release agent binary path per-ve we need to have some place to
store it, ve root cgroups are already linked to ve via cgroup->ve_owner
and ve->ve_ns->cgroup_ns->root_cset, so we can put release agent data to
ve. Also we need to have one path per cgroup_root as it prev
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at
https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.10
-->
commit 9b2548830f1532b53eb7fa9e6794e882cc69b184
Author: Andrey Ryabinin
Date: Tue Oct 19 13:15:55 2021 +0300
mm/memcg: limit page cache
https://jira.sw.ru/browse/PSBM-134013
Alexander Mikhalitsyn (2):
mm: introduce page vz extension (using page_ext)
configs: Enable CONFIG_PAGE_EXTENSION
Andrey Ryabinin (1):
mm/memcg: limit page cache in memcg hack
include/linux/memcontrol.h| 9 +
include/linux/page_e
CONFIG_PAGE_EXTENSION option required for
"mm: per-memcg pagecache limitation" feature
https://jira.sw.ru/browse/PSBM-134013
Signed-off-by: Alexander Mikhalitsyn
---
redhat/configs/custom-overrides/generic/CONFIG_PAGE_EXTENSION | 1 +
1 file changed, 1 insertion(+)
create mode 100644
redhat/c
This module allows to manage per-page data.
We will use it in memcg page cache limiting feature
to store additional flag on page.
We may also use this in the future in many other
circumstances (for debugging and so on).
See also mm/page_owner.c
https://jira.sw.ru/browse/PSBM-131957
Signed-off-b
From: Andrey Ryabinin
Add new memcg file - memory.cache.limit_in_bytes.
Used to limit page cache usage in cgroup.
https://jira.sw.ru/browse/PSBM-77547
Signed-off-by: Andrey Ryabinin
khorenko@: usecase:
imagine a system service which anon memory you don't want to limit
(in our case it's a vSto
On Mon, 18 Oct 2021 19:51:49 +0300
Nikita Yushchenko wrote:
> The assumption that bm_fill_super() is not called for the second time
> for CT is wrong: umount operation clears sb->s_root, which causes
> vfs_get_super() to call fill_super again on the next mount.
>
> Make bm_fill_super() handle mu
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at
https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.11
-->
commit 14a325dbe6d95501bb4b0514c69b1294bb9a9cdb
Author: Alexander Mikhalitsyn
Date: Tue Oct 19 14:00:34 2021 +0300
mm: introduce page vz
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at
https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.11
-->
commit f2db16107a4e3da567fafc69a39b3c3354b65d60
Author: Alexander Mikhalitsyn
Date: Tue Oct 19 14:00:35 2021 +0300
configs: Enable CONFI
On Tue, 19 Oct 2021 13:59:34 +0300
Alexander Mikhalitsyn wrote:
> On Mon, 18 Oct 2021 19:51:49 +0300
> Nikita Yushchenko wrote:
>
> > The assumption that bm_fill_super() is not called for the second time
> > for CT is wrong: umount operation clears sb->s_root, which causes
> > vfs_get_super() t
On Mon, 18 Oct 2021 15:50:04 +0300
Pavel Tikhomirov wrote:
> Patches are massively reworked, see inpatch comments.
>
> https://jira.sw.ru/browse/PSBM-134002
>
> Pavel Tikhomirov (1):
> ve/cgroup: fix cgroup_mark_ve_roots naming
>
> Valeriy Vdovin (5):
> cgroup/cfs: added 'activate' option
- bm_data = kzalloc(sizeof(struct binfmt_misc), GFP_KERNEL);
- if (!bm_data)
- return -ENOMEM;
+ INIT_LIST_HEAD(&bm_data->entries);
+ rwlock_init(&bm_data->entries_lock);
- INIT_LIST_HEAD(&bm_data->entries);
- rwlock_init(&bm_data->en
On Tue, 19 Oct 2021 16:44:20 +0300
Nikita Yushchenko wrote:
> >> - bm_data = kzalloc(sizeof(struct binfmt_misc), GFP_KERNEL);
> >> - if (!bm_data)
> >> - return -ENOMEM;
> >> + INIT_LIST_HEAD(&bm_data->entries);
> >> + rwlock_init(&bm_data->entries_lock);
> >>
> >>
The assumption that bm_fill_super() is not called for the second time
for CT is wrong: umount operation clears sb->s_root, which causes
vfs_get_super() to call fill_super again on the next mount.
Make bm_fill_super() handle multiple-calls corrently:
- initialize bm_data and set ve->binfmt_misc onl
Avoid several compile errors if CONFIG_VE is not defined.
Signed-off-by: Nikita Yushchenko
---
include/linux/sched.h| 2 +-
include/linux/ve.h | 7 ---
include/linux/ve_proto.h | 1 +
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/include/linux/sched.h b/include/lin
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at
https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.12
-->
commit 91501875022c2ebc572d48b6b2ea41525000c5ca
Author: Kirill Tkhai
Date: Tue Oct 19 20:24:45 2021 +0300
ploop: Introduce option "off="
On 19.10.2021 17:40, Nikita Yushchenko wrote:
> The assumption that bm_fill_super() is not called for the second time
> for CT is wrong: umount operation clears sb->s_root, which causes
> vfs_get_super() to call fill_super again on the next mount.
>
> Make bm_fill_super() handle multiple-calls cor
>> +#ifdef CONFIG_VE
>> + ve->binfmt_misc = bm_data;
>> + /* this will be cleared by ve_destroy() */
>> +#endif
>> + }
>>
>>err = simple_fill_super(sb, BINFMTFS_MAGIC, bm_files);
>> - if (err) {
>> - kfree(bm_data);
>> + if (err)
>>
19 matches
Mail list logo