netdev/2021160240.739294-1-alexander.mikhalit...@virtuozzo.com/T/#t
https://jira.sw.ru/browse/PSBM-135303
https://jira.sw.ru/browse/PSBM-140280
Signed-off-by: Alexander Mikhalitsyn
---
net/ipv4/fib_semantics.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/net/ipv4/fib_semantics.c b/ne
s://jira.sw.ru/browse/PSBM-142895
Fixes: d3a05a0552d7 ("nat: allow nft NAT and iptables NAT work on the same
node")
Signed-off-by: Alexander Mikhalitsyn
---
net/netfilter/core.c | 83 ++--
1 file changed, 81 insertions(+), 2 deletions(-)
dif
ern
Cc: Yajun Deng
Cc: Roopa Prabhu
Cc: Christian Brauner
Cc: net...@vger.kernel.org
Cc: linux-ker...@vger.kernel.org
Cc: Alexey Kuznetsov
Cc: Alexander Mikhalitsyn
Cc: Konstantin Khorenko
Cc: ker...@openvz.org
Cc: devel@openvz.org
Suggested-by: Denis V. Lunev
Signed-off-by: Alexander Mi
onstantin Khorenko
Cc: Pavel Tikhomirov
Cc: Andrey Zhadchenko
Cc: Alexander Mikhalitsyn
Cc: ker...@openvz.org
Cc: devel@openvz.org
Signed-off-by: Denis V. Lunev
Signed-off-by: Alexander Mikhalitsyn
Alexander Mikhalitsyn (1):
neighbour: make proxy_queue.qlen limit per-device
Denis V. Lunev
oved init/free logic, fixed a small issue
v3: small fixes. Thanks to Pavel Tikhomirov for review
v4: added memcg accounting
https://jira.sw.ru/browse/PSBM-133521
[1]
http://kernsec.org/pipermail/linux-security-module-archive/2019-February/011442.html
Cc: Pavel Tikhomirov
Cc: Konstantin Khorenko
Si
oved init/free logic, fixed a small issue
v3: small fixes. Thanks to Pavel Tikhomirov for review
https://jira.sw.ru/browse/PSBM-133521
[1]
http://kernsec.org/pipermail/linux-security-module-archive/2019-February/011442.html
Cc: Pavel Tikhomirov
Cc: Konstantin Khorenko
Signed-off-by: Alexander Mikh
PSBM-135190
Signed-off-by: Alexander Mikhalitsyn
---
v2: commit message/code comment fixes
---
kernel/cgroup/cgroup.c | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 396c0dc98b64..4b4f711b433c 100
PSBM-135190
Signed-off-by: Alexander Mikhalitsyn
---
v2: commit message/code comment fixes
---
kernel/cgroup/cgroup.c | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index 396c0dc98b64..116a664a0f5d 100
removing elements
from ->cgrp_links "protected" by cset refcnt which is at least
one because we holding cgroup namespace connected to our VE.
Fixes: ee84e05864f9a ("ve/cgroup: Set release_agent_path for root cgroups
separately")
https://jira.sw.ru/browse/PSBM-135190
S
making crash/kdump work on RH9
https://jira.sw.ru/browse/PSBM-135139
Alexander Mikhalitsyn (2):
printk: define struct member aliases for log_buf*
mm: tcache: handle not initialized tcache properly in
tcache_shrink_count
kernel/printk/printk.c | 7 +++
mm/tcache.c| 3
ZONE_DMA), then do_try_to_free_pages
will be called during the reclaim procedures and kernel crashes
because tcache_nodeinfo structures are not initialized.
TBD: investigate why we meet problems with ZONE_DMA in kexec'ed
kernel and fix that.
https://jira.sw.ru/browse/PSBM-135139
Signed-off-by: Alexander
This aliases is needed to make crash work properly
and allow it to extract dmesg ringbuffer data.
https://jira.sw.ru/browse/PSBM-135139
Signed-off-by: Alexander Mikhalitsyn
---
kernel/printk/printk.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/kernel/printk/printk.c b/kernel
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(_data->entries);
> >> + rwlock_init(_data->entries_lock);
> >>
> >> -
| 53 ++-
> kernel/ve/ve.c | 242 +++-
> 7 files changed, 442 insertions(+), 62 deletions(-)
>
> --
> 2.31.1
>
LGTM
Reviewed-by: Alexander Mikhalitsyn
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
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
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
ra.sw.ru/browse/PSBM-131957
Signed-off-by: Alexander Mikhalitsyn
khorenko@:
v2:
1. hunk
===
done_restock:
+ if (cache_charge)
+ page_counter_charge(>cache, batch);
+
===
is moved to later commit ("mm/memcg: Use per-cpu stock charges for
->cache counter&q
-by: Alexander Mikhalitsyn
v2: khorenko@:
- renamed *_page_owner() so any later call of such a function breaks the
compilation and requires attention
- renamed *_page_vzext() funtions for making the code similar
https://jira.sw.ru/browse/PSBM-134013
8fb156c9ee ("mm/page_owner: c
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
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 1006
ra.sw.ru/browse/PSBM-131957
Signed-off-by: Alexander Mikhalitsyn
khorenko@:
v2:
1. hunk
===
done_restock:
+ if (cache_charge)
+ page_counter_charge(>cache, batch);
+
===
is moved to later commit ("mm/memcg: Use per-cpu stock charges for
->cache counter&q
ra.sw.ru/browse/PSBM-131957
Signed-off-by: Alexander Mikhalitsyn
khorenko@:
v2:
1. hunk
===
done_restock:
+ if (cache_charge)
+ page_counter_charge(>cache, batch);
+
===
is moved to later commit ("mm/memcg: Use per-cpu stock charges for
->cache counter&q
to net namespaces of the particular VE only.
Signed-off-by: Cyrill Gorcunov
Rebased to RHEL8 beta kernel:
Signed-off-by: Konstantin Khorenko
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit 5cba05d6f334ac07ffdd9563ac9e2099477fe167)
Signed-off-by: Alexander Mikhalitsyn
---
lib
off-by: Andrew Vagin
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit 995390f5a1b3a377d27c59a28e0c5c613d01fc46)
Signed-off-by: Alexander Mikhalitsyn
---
net/ipv6/sit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 9344ba77d
SBM-133986
(cherry picked from commit 4c271e2c17554d4c023ed9a4fa47121958b514cb)
Signed-off-by: Alexander Mikhalitsyn
---
fs/quota/quota.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/quota/quota.c b/fs/quota/quota.c
index 2bcc9a6f1bfc..55b4351b97bd 100644
--- a/fs/quota/quot
/browse/PSBM-133986
(cherry picked from commit bf0bdec95ab1d3b18ccc43e05b01109e4db97c46)
Signed-off-by: Alexander Mikhalitsyn
---
net/ipv4/ip_gre.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 95419b7adf5c..87a682b57dff 100644
--- a/net/ipv4/ip_gre.c
://jira.sw.ru/browse/PSBM-53629
Signed-off-by: Pavel Tikhomirov
Acked-by: Andrei Vagin
(cherry picked from vz7 commit da2b4bd3e7a5 ("ve/netlink: allow messages
with family PF_BRIDGE type RTM_xxxNEIGH in CT"))
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127783
Signed-off-by: Alexander M
picked from commit b7f1230a273bcc44caafd0d09e4921fa4cb4cf77)
Signed-off-by: Alexander Mikhalitsyn
---
drivers/net/dummy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c
index f82ad7419508..83c3f72e737d 100644
--- a/drivers/net/dummy.c
+++ b/drivers
0
2. __devcgroup_check_permission -> devcgroup_legacy_check_permission
WARN: we completely ignore eBPF control for device cgroup
3. struct file_operations proc_devperms_ops ->
struct proc_ops proc_devperms_ops API conversion
(cherry picked from commit f5d0ef3585219ec1df5558a137fd22364c
om commit a37bdd010689c0c23df99edbe5a747ce90d6ff2f)
Signed-off-by: Alexander Mikhalitsyn
---
drivers/net/vxlan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 5a8df5a195cb..17a30edea97c 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -3298,
kernel:
Signed-off-by: Konstantin Khorenko
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit d2fc3d088444fff6c12b27b3754de2ace1ffaff2)
Signed-off-by: Alexander Mikhalitsyn
---
net/ipv4/ip_vti.c | 16
1 file changed, 16 insertions(+)
diff --git a/net/ipv4/ip_vti.c
From: Konstantin Khorenko
https://jira.sw.ru/browse/PSBM-17903
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit 739915b241c792831b89f87bb6260da8a6a515e7)
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/ve.h | 6 ++
kernel/ksysfs.c
https://jira.sw.ru/browse/PSBM-133986
Kirill Tkhai (1):
ve/net/ip_gre: containerize per-net devices
Konstantin Khorenko (4):
ve/net/cred: add ve_capable to check capabilities relative to the
current VE (v2)
ve/net/vxlan: enable support in a container
ve/uevent: Use own uevent_seqnum
From: Vladimir Davydov
This works on PCS6, so we should allow it on Vz7 either.
https://jira.sw.ru/browse/PSBM-43410
Signed-off-by: Vladimir Davydov
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit 23eff01c369131f7e4cab1c37de1c253266d5039)
Signed-off-by: Alexander
From: Kirill Tkhai
Extracted from "Initial patch".
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
unsigned long -> unsigned int
(cherry picked from commit 153ef777fd0e3be36ed2d4cb28de0449f7e14c41)
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/sche
From: Konstantin Khorenko
Signed-off-by: OpenVZ Team
Extracted by Konstantin Khorenko
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit b055e02b4378443778b38ef77712b803f9bcb19f)
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/core.c | 3
accounting"))
mFixes: ebd33cb22f39 ("sched: Account cfs_rq::nr_iowait")
Signed-off-by: Pavel Tikhomirov
https://jira.sw.ru/browse/PSBM-133986
task->state -> READ_ONCE(task->__state)
(cherry picked from commit 30967ce528450629853dc71362fdd1aef21a3245)
Signed-off-by: Ale
From: Kirill Tkhai
This is needed for CONFIG_CFS_CPULIMIT.
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit dcff66d4a02c9fc56536b3e002b4dee3e9efd3fa)
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/core.c | 20 +++-
kernel
From: Kirill Tkhai
Refactoring needed for CONFIG_CFS_CPULIMIT.
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit f511f958d4294fe50e1b42661a5bd7012b61f82a)
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/fair.c | 15 ++-
1 file
ent of the show-state debug output")
(cherry picked from commit f9da5f1ecff2f4cd1aa1aa40ff2f830cd9f1d555)
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/core.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/sched/core.c b/kernel/sched/core.
hecks against SD_LOAD_BALANCE")
9818427c6 ("sched/debug: Make sd->flags sysctl read-only")
(cherry picked from commit fbafc1d55798fb54805164bb79a99aba859b294d)
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/sched.h | 29 +++
include/linux/sched/sysctl.h |
://jira.sw.ru/browse/PSBM-41140
Signed-off-by: Vladimir Davydov
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit e8da25d0fa103932b782bdc59e99013f610badfc)
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/core.c | 8
1 file changed, 8 insertions
_state)
(cherry picked from commit 4833c2e3239ec8c0bfeebe375d54b5b767b8967e)
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/sched.h | 2 +-
kernel/sched/core.c | 41 +++--
kernel/sched/sched.h | 3 +++
3 files changed, 43 insertions(+), 3 deletions(-)
d
t; utility works via sched_getaffinity().
Acked-by: Cyrill Gorcunov
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit 83352c7f8f4b98fd4dbf5f0de00681b6cdc11d7c)
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/core.c | 6 ++
1 file changed, 6
From: Kirill Tkhai
Extracted from "Initial patch".
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
(cherry picked from commit b097bc8d02100cc6c8fa55433fc7a059b04c37fb)
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/sched.h | 3 +++
kernel/exit.c
From: Kirill Tkhai
Add CONFIG_CPULIMIT cpu cgroup files.
Signed-off-by: Kirill Tkhai
https://jira.sw.ru/browse/PSBM-133986
See
f4183717b ("sched/fair: Introduce the burstable CFS controller")
(cherry picked from commit 0e0e0bfbf884f8fb0347e8cb6ed27aa2bf991c91)
Signed-off-by:
https://jira.sw.ru/browse/PSBM-133986
Kirill Tkhai (11):
sched: Add ve name to sched_show_task()
sched: disable dumping cfs info on sysrq trigger
kernel: Account nr_zombie and nr_dead
sched: Count rq::nr_sleeping and cfs_rq::nr_unint
sched: Account cfs_rq::nr_iowait
sched: Add
LGTM
From: Konstantin Khorenko
Sent: Friday, September 10, 2021 13:33
To: Alexander Mikhalitsyn
Cc: Konstantin Khorenko; OpenVZ devel list
Subject: [PATCH vz8 v3] proc connector: protect from task cpu migration in
send_msg_ve
this_cpu_ptr() should
her
Acked-by: Andrey Vagin
Tested-by: Andrey Vagin
Cc: Dmitry Safonov <0x7f454...@gmail.com>
Cc: Kirill Tkhai
Cc: Eric W. Biederman
Cc: Pavel Tikhomirov
Cc: Alexander Mikhalitsyn
Signed-off-by: Andrew Morton
This patch comes from LKML
https://lore.kernel.org/all/20210121221207.GB2174@grain
Fixes: 90fb0e274 ("ve/fs/binfmt: virtualization")
https://jira.sw.ru/browse/PSBM-131994
Signed-off-by: Alexander Mikhalitsyn
---
fs/binfmt_misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index 2b586d61f4a9..21cbd8b13ec4 10064
Fixes: 0e60020d2a ("proc connector: take number of listeners and per-cpu
conters from VE")
Signed-off-by: Alexander Mikhalitsyn
---
drivers/connector/cn_proc.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_pr
SBM-132709
v2: comments fixed :) Thanks to Pavel for notices
v3: bm_umount -> bm_kill_super
Signed-off-by: Alexander Mikhalitsyn
---
fs/binfmt_misc.c | 45 +++--
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/fs/binfmt_misc.c b/fs/binfmt
SBM-132709
v2: comments fixed :) Thanks to Pavel for notices
Signed-off-by: Alexander Mikhalitsyn
---
fs/binfmt_misc.c | 45 +++--
1 file changed, 39 insertions(+), 6 deletions(-)
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index c21d03fd3f15..647900f16
On Wed, 11 Aug 2021 15:41:39 +0300
Pavel Tikhomirov wrote:
>
>
> On 06.08.2021 17:29, Alexander Mikhalitsyn wrote:
> > After rebase to RHEL 8.4 binfmt_misc fs uses new fscontext API,
> > our implementation is incorrect. We have to use get_tree_keyed()
> > helper
SBM-132709
Signed-off-by: Alexander Mikhalitsyn
---
fs/binfmt_misc.c | 42 --
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index c21d03fd3f15..ad1d9d603034 100644
--- a/fs/binfmt_misc.c
+++ b/fs/bin
-by: Alexander Mikhalitsyn
---
include/linux/page_ext.h | 36
include/linux/page_vzext.h | 33 +++
mm/Makefile| 1 +
mm/huge_memory.c | 3 +-
mm/migrate.c | 3 +-
mm/page_alloc.c| 7 ++--
mm/page_ext.c
-by: Alexander Mikhalitsyn
---
include/linux/page_ext.h | 36
include/linux/page_vzext.h | 33 +++
mm/Makefile| 1 +
mm/huge_memory.c | 3 +-
mm/migrate.c | 3 +-
mm/page_alloc.c| 7 ++--
mm/page_ext.c
eed to
> separately define setsockopt numbers, but as Virtuozzo is x86_64 only
> we can skip them.
>
> https://jira.sw.ru/browse/PSBM-131580
>
> Signed-off-by: Pavel Tikhomirov
Reviewed-by: Alexander Mikhalitsyn
> ---
> This also need to go to VZ8 kernel.
>
drop this particular patch and rework userspace
code to properly setup time namespace for container.
Time namespaces natively handle all vdso time-related stuff.
https://jira.sw.ru/browse/PSBM-131977
Signed-off-by: Alexander Mikhalitsyn
---
arch/x86/entry/vdso/vdso2c.c | 1 +
arch/x86/includ
-24395
https://jira.sw.ru/browse/PSBM-94761
Signed-off-by: Andrey Ryabinin
(cherry picked from commit c7235680e58c0d7d792e8f47264ef233d2752b0b)
see ms 1a3e1f40 ("mm: memcontrol: decouple reference counting from page
accounting")
https://jira.sw.ru/browse/PSBM-131957
Signed-off-by:
https://jira.sw.ru/browse/PSBM-131957
Alexander Mikhalitsyn (1):
mm: introduce page vz extension (using page_ext)
Andrey Ryabinin (4):
mm/memcg: limit page cache in memcg hack
mm/memcg: reclaim memory.cache.limit_in_bytes from background
mm/memcg: fix cache growth above
4f0599 ("mm: memcg/slab: obj_cgroup API")
e1a366be ("mm: memcontrol: switch to rcu protection in drain_all_stock()")
1a3e1f40 ("mm: memcontrol: decouple reference counting from page accounting")
https://jira.sw.ru/browse/PSBM-131957
Signed-off-by:
instead.
https://jira.sw.ru/browse/PSBM-106384
Signed-off-by: Andrey Ryabinin
(cherry picked from commit 098f6a9add74a10848494427046cb8087ceb27d1)
https://jira.sw.ru/browse/PSBM-131957
Signed-off-by: Alexander Mikhalitsyn
---
mm/memcontrol.c | 9 +++--
1 file changed, 7 insertions(+), 2
ra.sw.ru/browse/PSBM-131957
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/memcontrol.h | 3 +
include/linux/page_vzflags.h | 31 ++
mm/filemap.c | 2 +-
mm/memcontrol.c | 188 ++-
4 files changed, 198 insertions(+), 26 deletio
-by: Alexander Mikhalitsyn
---
include/linux/page_vzext.h | 25 +++
mm/Makefile| 1 +
mm/huge_memory.c | 2 ++
mm/migrate.c | 2 ++
mm/page_alloc.c| 4 +++
mm/page_ext.c | 2 ++
mm/page_vzext.c| 66
NC_NEVER)
> goto out;
> - error = 0;
> if (end == start)
> goto out;
> /*
> --
> 2.31.1
>
Thanks, my bad.
Acked-by: Alexander Mikhalitsyn
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
https://jira.sw.ru/browse/PSBM-131142
Fixes: ab602f79915 ("shm: make exit_shm work proportional to task activity")
Signed-off-by: Alexander Mikhalitsyn
---
ipc/shm.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/ipc/shm.c b/ipc/shm.c
index 73
-off-by: Alexander Mikhalitsyn
---
ipc/util.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ipc/util.c b/ipc/util.c
index 05748f56edd9..6a331b8a52ba 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -447,8 +447,8 @@ static int ipcget_public(struct ipc_namespace *ns, struct
Fixes: ab602f79915 ("shm: make exit_shm work proportional to task activity")
Signed-off-by: Alexander Mikhalitsyn
---
ipc/shm.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/ipc/shm.c b/ipc/shm.c
index 7394d05f8c0b..f989f559adce 100644
--- a/ipc/shm.c
Lets produce a warning if we trying to remove non-existing
IPC object from IPC namespace kht/idr structures.
This allows to catch possible bugs when ipc_rmid() function was
called with inconsistent struct ipc_ids*, struct kern_ipc_perm*
arguments.
Signed-off-by: Alexander Mikhalitsyn
---
ipc
855d50d5a08b71018bece89b3c41caaff6affd79)
Rebase part https://jira.sw.ru/browse/PSBM-127850
Signed-off-by: Alexander Mikhalitsyn
---
configs/kernel-4.18.0-x86_64-KVM-minimal.config | 4 ++--
configs/kernel-4.18.0-x86_64-debug.config | 3 ++-
configs/kernel-4.18.0-x86_64.config | 3 ++-
3
u/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
arch/x86/kernel/cpu/microcode/intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/microcode/intel.c
b/arch/x86/kernel/cpu/microcode/intel.c
index 6a99535d7f37..304f47784e90 100644
--- a
from commit 6a6935993911cfc6798566c8827da0e39a08aff8)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
kernel/sched/debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
index
I have to resend this patch with fixup. 0a3e20990d36 x86/microcode/intel: hide
warning on high order allocation for microcode area
Thanks to Andrey Zhadchenko
From: devel-boun...@openvz.org on behalf of
Alexander Mikhalitsyn
Sent: Wednesday, June 2
Sure, thanks!
From: Evgenii Shatokhin
Sent: Wednesday, June 2, 2021 19:25
To: Alexander Mikhalitsyn
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH 5/7] target: use to_stat_tgt_port() to handle files
in scsi_tgt_port/
On 02.06.2021 18:59, Alexander
commit 93ffc59d9f9e8b65ad2bdfe090b56839f0a40411)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
net/bridge/netfilter/ebtables.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge
-127837
Signed-off-by: Alexander Mikhalitsyn
---
drivers/target/target_core_stat.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/target/target_core_stat.c
b/drivers/target/target_core_stat.c
index abe7f612b676..8d0f4f75829a 100644
--- a/drivers/target
ay.
https://jira.sw.ru/browse/PSBM-86662
Signed-off-by: Konstantin Khorenko
(cherry picked from commit 0b26c4a6f25cfd35a90a7d6dfa139cec30abb946)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
arch/x86/kernel/cpu/microcode/intel.c | 2 +-
1 file
://jira.sw.ru/browse/PSBM-87155
Signed-off-by: Vasily Averin
Acked-by: Konstantin Khorenko
(cherry picked from commit c75e42c15e7d3f73777de7c932c60ae3b96fa025)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/ve.h | 2 ++
kernel/ve
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Andrei Vagin (1):
target: use to_stat_tgt_port() to handle files in scsi_tgt_port/
Kirill Tkhai (1):
ms/netfilter: account ebt_table_info to kmemcg
Konstantin Khorenko (2):
mnt_ns: introduce global list of mount namespaces for debug
t;)
https://jira.sw.ru/browse/PSBM-80743
Signed-off-by: Pavel Tikhomirov
Reviewed-by: Kirill Tkhai
(cherry picked from commit 3543274fc3f1ce483a075ce4cb7a097c7c2d2169)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
fs/super.c | 4 +++-
1 file
Signed-off-by: Konstantin Khorenko
Reviewed-by: Andrey Ryabinin
(cherry picked from commit abee9d40a8d159ece11594b77fb6f5b473359cfa)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexander Mikhalitsyn
---
fs/mount.h | 1 +
fs/namespace.c | 14 ++
2
mit and fail, fix it ignoring the limit at restore stage.
https://jira.sw.ru/browse/PSBM-86511
Signed-off-by: Pavel Tikhomirov
Acked-by: Cyrill Gorcunov
(cherry picked from commit cb5488bae3555a8696554010d151b9bfb7934cc1)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127837
Signed-off-by: Alexan
://jira.sw.ru/browse/HCI-53
Signed-off-by: Oleg Babin
[VvS RHEL7.8 rebase] context changes
(cherry picked from commit 472011f165617f88833d61a14456198610a1632b)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127798
Signed-off-by: Alexander Mikhalitsyn
---
drivers/tty/vt/vt.c | 14 +++---
1 file
Signed-off-by: Konstantin Khorenko
Reviewed-by: Andrey Ryabinin
[VvS RHEL77b rebase]
(cherry picked from commit def125fece273fbcf26310d3af80ca90ac8f5400)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127798
Signed-off-by: Alexander Mikhalitsyn
---
include/linux/mm.h | 1 +
mm/util.c
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127798
Konstantin Khorenko (5):
ve/sysfs: relax sanity check for ns equality in kernfs_find_ns()
net/setsockopt: switch high order allocations to kvmalloc() in
do_ip_setsockopt()
mm: introduce kvmalloc_check() for safe calls to kvmalloc()
rom commit 17a5132158a4956a1926a8d46f435d4e3ee54f91)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127798
Signed-off-by: Alexander Mikhalitsyn
---
fs/ext4/extents_status.c | 8
1 file changed, 8 insertions(+)
diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
in
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127798
Signed-off-by: Alexander Mikhalitsyn
---
net/ipv4/ip_sockglue.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/net/ipv4/ip_sockglue.c b/net/ipv4/ip_sockglue.c
index b7a26120d552..18bbeda2bf27 100644
--- a/net/ip
ity check for ns equality in
kernfs_find_ns()")
Signed-off-by: Konstantin Khorenko
(cherry picked from commit 217a16fe9aca462c4f8ad1e905771609916506ad)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127798
Signed-off-by: Alexander Mikhalitsyn
---
fs/kernfs/dir.c | 5 +++--
1 file changed
127798
Signed-off-by: Alexander Mikhalitsyn
---
net/core/sock.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/net/core/sock.c b/net/core/sock.c
index 18b8908d200a..03ad9fbb2906 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -2107,7 +2107,7 @@ void *sock_k
0cd748d35c100b1bc6f9e7fffa44a7d0f70a1728)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797
Signed-off-by: Alexander Mikhalitsyn
---
drivers/vhost/net.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index 267877d8273b..07a2d3482d9d
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797
Signed-off-by: Alexander Mikhalitsyn
---
kernel/ve/ve.c | 102 +
1 file changed, 102 insertions(+)
diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c
index 5bf187705f2a..db548c6d1c4b 100644
--- a
commit 52d17a28f60d446da2159d486fbbedc197061a91)
See also
d51f39b ("cgroup: remove cgroup->parent")
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797
Signed-off-by: Alexander Mikhalitsyn
---
kernel/ve/ve.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797
Cyrill Gorcunov (1):
ve/tty: Provide interface for current tty inheritance
Dmitry Monakhov (1):
config.OpenVZ.minimal: disable CONFIG_X86_DECODER_SELFTEST
Kirill Tkhai (2):
ve/cgroup: Get correct VE init css when ve init_task is moved
-by: Dmitry Monakhov
(cherry picked from commit a817fdbed90d59e2b54385c6e59ed9fbff2d1ce1)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797
Signed-off-by: Alexander Mikhalitsyn
---
configs/kernel-4.18.0-x86_64-KVM-minimal.config | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
-by: Andrey Ryabinin
(cherry picked from commit e0199c52bdf40d8856ec8ff2ae664cbafee872fb)
See also
f49dfc054 ("vecalls: Introduce VZCTL_GET_CPU_STAT ioctl")
b72dd2c52 ("sched: Export per task_group statistics_work")
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127797
Sign
See https://jira.sw.ru/browse/PSBM-127783
Andrey Ryabinin (1):
netfilter/x_tables: account entry offsets allocations
Kirill Tkhai (5):
ve/netfilter: Implement pernet net->ct.max / virtualize
"nf_conntrack_max" sysctl
ve/netfilter: Add autoloading of sockopt modules
ve/netfilter:
xt_entry .checkentry
callback.
$ grep -Inr 'nf_ct_netns_get' net/netfilter net/ipv4/netfilter
net/ipv6/netfilter
is useful to find all modules
net/netfilter/nf_conncount.c was added
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127783
Signed-off-by: Alexander Mikhalitsyn
---
net/ipv4/netfi
e/PSBM-39077
Signed-off-by: Andrew Vagin
Reviewed-by: Vladimir Davydov
(cherry picked from commit d14ac53542dcea9e8db67b3f989a57e42b0de093)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127783
Signed-off-by: Alexander Mikhalitsyn
---
net/netfilter/nf_sockopt.
autoloading from CT
netfilter: Add autoloading of sockopt modules
netfilter: Check for permittions while looking for target and match
(cherry picked from commit 6abadc4355f7f7eb65c87940af47c0c2f0ebe472)
VZ 8 rebase part https://jira.sw.ru/browse/PSBM-127783
Signed-off-by: Alexander
1 - 100 of 200 matches
Mail list logo