inodes with exported fhandle.
https://jira.sw.ru/browse/PSBM-105889
Signed-off-by: Andrey Zhadchenko
---
kernel/cgroup.c | 107 +++-
1 file changed, 106 insertions(+), 1 deletion(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 9fdba79
inodes with exported fhandle.
https://jira.sw.ru/browse/PSBM-105889
Signed-off-by: Andrey Zhadchenko
---
kernel/cgroup.c | 112 +++-
1 file changed, 111 insertions(+), 1 deletion(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 9fdba79
inodes with exported fhandle.
v3: use inode->i_gen to protect from i_ino reusage. increase fhandle size to
2 * u32.
Add an option to take reference of inode in cgroup_find_inode, so no one can
delete recently found inode.
https://jira.sw.ru/browse/PSBM-105889
Signed-off-by: Andrey Zhadche
_count back.
От: Pavel Tikhomirov
Отправлено: 29 июля 2020 г. 13:46
Кому: Andrey Zhadchenko ; devel@openvz.org
Тема: Re: [PATCH RH7 v3] cgroup: add export_operations to cgroup super block
Except for two small nits it looks good.
Note: Because we use atomic_inc_not_zero(i_cou
gen generation from get_seconds to prandom_u32.
https://jira.sw.ru/browse/PSBM-105889
Signed-off-by: Andrey Zhadchenko
---
kernel/cgroup.c | 168 +++-
1 file changed, 167 insertions(+), 1 deletion(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
in
r.appspotmail.com
Fixes: 309b66970ee2 ("net: openvswitch: do not free vport if
register_netdevice() is failed.")
Cc: Taehee Yoo
Cc: Greg Rose
Cc: Eric Dumazet
Cc: Marcelo Ricardo Leitner
Cc: Ying Xue
Cc: Andrey Konovalov
Signed-off-by: Hillf Danton
Acked-by: Pravin B Shelar
[sbrivio: th
patches to
fix that.
Andrey Zhadchenko (1):
net: openvswitch: add possibility to specify ifindex of new links
Hillf Danton (1):
net: openvswitch: free vport unless register_netdevice() succeeds
Taehee Yoo (1):
net: openvswitch: do not free vport if register_netdevice() is failed.
net
new netdev
ifindex. Both values were not relevant for corresponding requests, so
existing software won't mess with it.
https://jira.sw.ru/browse/PSBM-105844
Signed-off-by: Andrey Zhadchenko
---
net/openvswitch/datapath.c | 16 ++--
net/openvswitch/vport-internal_dev.c |
er
(cherry-picked from commit 309b66970ee2abf721ecd0876a48940fa0b99a35)
Signed-off-by: Andrey Zhadchenko
---
net/openvswitch/vport-internal_dev.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/net/openvswitch/vport-internal_dev.c
b/net/openvswitch/vport-i
new netdev
ifindex. Both values were not relevant for corresponding requests, so
existing software won't mess with it.
https://jira.sw.ru/browse/PSBM-105844
Signed-off-by: Andrey Zhadchenko
---
net/openvswitch/datapath.c | 16 ++--
net/openvswitch/vport-internal_dev.c |
criu uses fhandle from fdinfo to dump inotify objects, but mqueue has no
export_operations in super block. However, they are needed if we want to
operate with files using fhandles.
Add hash table as a storage for exported inodes.
https://jira.sw.ru/browse/PSBM-103727
Signed-off-by: Andrey
gt;Nice!
On Thu, 24 Sep 2020 13:38:24 +0300
Konstantin Khorenko wrote:
> On 09/09/2020 01:19 PM, Pavel Tikhomirov wrote:
> > Looks good.
> >
> > Reviewed-by: Pavel Tikhomirov
> >
> > But please also see two non-critical questions below.
>
> Andrey, any ans
vfs_setxattr CAP_SYS_ADMIN check if current credentials
have CAP_SYS_ADMIN in namespace that is recorded in overlayfs mount superblock.
https://jira.sw.ru/browse/PSBM-108122
Signed-off-by: Andrey Zhadchenko
---
fs/overlayfs/copy_up.c | 25 +++--
fs/overlayfs/overlayfs.h
On Wed, 14 Oct 2020 12:33:53 +0300
Pavel Tikhomirov wrote:
> On 10/14/20 2:05 AM, Andrey Zhadchenko wrote:
> > Overlayfs temporary override credentials in copy_up function to
> > ones which was used to create mount.
>
> > Unfortunately vfs_setxattr requires CAP_SYS
This patch is not needed for vz8, because cgroup will use kernfs, which
has export_operations implemented.
Best regards,
Andrey Zhadchenko
On Thu, 24 Sep 2020 10:41:31 +0300
Konstantin Khorenko wrote:
> Please, port this patch to vz8 as well, branch
> branch-rh8-4.18.0-193.6.3.vz8.4
Use more generic igrab instead of atomic inc. Move cgroup_hash_del to eviction
stage to avoid deadlock.
Signed-off-by: Andrey Zhadchenko
---
kernel/cgroup.c | 25 -
1 file changed, 8 insertions(+), 17 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index
Sometimes during dump criu can encounter netlink sockets with overflown kernel
buffer, which results in ENOBUFS error during next read. We need an reliable
way to restore sk->sk_err.
https://jira.sw.ru/browse/PSBM-120976
Signed-off-by: Andrey Zhadchenko
---
include/uapi/linux/netlink.h
Sometimes during dump criu can encounter sockets with overflown kernel buffer,
which results in ENOBUFS error during next read. We need an reliable way
to restore sk->sk_err.
https://jira.sw.ru/browse/PSBM-120976
Signed-off-by: Andrey Zhadchenko
---
include/uapi/linux/netlink.h | 1 +
Prevent using netlink repair mode from containers.
Signed-off-by: Andrey Zhadchenko
---
net/netlink/af_netlink.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 7b3de33..dff6e5f 100644
--- a/net/netlink/af_netlink.c
+++ b/net
Prevent using netlink repair mode from containers.
Signed-off-by: Andrey Zhadchenko
---
v2: added ve_struct *ve to get rid of second get_exec_env call
net/netlink/af_netlink.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index
Sometimes during dump criu can encounter sockets with overflown kernel buffer,
which results in ENOBUFS error during next read. We need an reliable way
to restore sk->sk_err.
https://jira.sw.ru/browse/PSBM-120976
Signed-off-by: Andrey Zhadchenko
---
v2: add an option to return EINVAL
incl
Sometimes during dump criu can encounter sockets with overflown kernel buffer,
which results in ENOBUFS error during next read. We need a reliable way
to restore sk->sk_err.
https://jira.sw.ru/browse/PSBM-120976
Signed-off-by: Andrey Zhadchenko
---
include/uapi/linux/netlink.h | 1 +
Prevent using netlink repair mode from containers.
Signed-off-by: Andrey Zhadchenko
---
net/netlink/af_netlink.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 46c2dbd..2b9e9c7 100644
--- a/net/netlink/af_netlink.c
+++ b/net
Use more generic igrab instead of atomic inc. Move cgroup_hash_del to eviction
stage to avoid deadlock.
Signed-off-by: Andrey Zhadchenko
---
v2: adjusted function call order in cgroup_evict_inode to match existing code
kernel/cgroup.c | 25 -
1 file changed, 8
On Thu, 12 Nov 2020 17:29:21 +0300
Kirill Tkhai wrote:
Hi, Kirill,
> Hi, Andrey,
>
> On 11.11.2020 10:32, Andrey Zhadchenko wrote:
> > Use more generic igrab instead of atomic inc. Move cgroup_hash_del
> > to eviction stage to avoid deadlock.
> >
> >
Allow user to set security xattr (XATTR_SECURITY_PREFIX) from the inside
of ve on external mounts (for example, root).
https://jira.sw.ru/browse/PSBM-122071
Signed-off-by: Andrey Zhadchenko
---
security/commoncap.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a
Allow user to set security xattr (XATTR_SECURITY_PREFIX) from the inside
of ve on external mounts (for example, root).
https://jira.sw.ru/browse/PSBM-122071
Signed-off-by: Andrey Zhadchenko
---
security/commoncap.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
v2: omit #ifdef
ovl_listxattr() additionally check if attributes can be shown to user by
calling capable(). Change it to ve_capable() to avoid problems in containers.
https://jira.sw.ru/browse/PSBM-124532
Signed-off-by: Andrey Zhadchenko
---
fs/overlayfs/inode.c | 2 +-
1 file changed, 1 insertion(+), 1
't migrate requests (we are almost wait them), so
it's 0 on src and dst.
Rebased to vz8. Introduced new ve_aio_max_nr_read/write functions instead
of old helpers.
(cherry picked from commit 8512756dc855983bb54d633ef9c0d11d38da28c4)
Signed-off-by: Andrey Zhadchenko
---
erry picked from commit 8512756dc855983bb54d633ef9c0d11d38da28c4)
Signed-off-by: Andrey Zhadchenko
---
kernel/ve/ve.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c
index 031b104..93f9e75 100644
--- a/kernel/ve/ve.c
+++ b/kernel/ve/v
BM-79461
Signed-off-by: Konstantin Khorenko
(cherry picked from 6259f9ebd0f2b89afd77203b6c904d730c9875cb)
Signed-off-by: Andrey Zhadchenko
---
configs/kernel-4.18.0-x86_64-debug.config | 5 +
configs/kernel-4.18.0-x86_64.config | 5 +
2 files changed, 10 insertions(+)
diff --git a
/0x2aa
call_softirq+0x1c/0x30
do_softirq+0x65/0xa0
irq_exit+0x105/0x110
do_IRQ+0x56/0xe0
common_interrupt+0x6d/0x6d
https://jira.sw.ru/browse/PSBM-77016
Signed-off-by: Andrey Ryabinin
(cherry picked from b28ad48b19427e0644ae63d614db4a19fe0e4471)
Signed-off-by: Andrey Zhadchenko
, since it is already partially included
- Introduced start in do_swap_page to use it for kstat_glob.swap_in
(cherry picked from ed033a381e01996f7f8061d9838d1c9ec6b38d96)
Signed-off-by: Andrey Zhadchenko
---
mm/memory.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/mm/memory.c b/mm
ring resizing
This patch description:
Add argument "shrink" to the functions.
This is refactoring, which will be used in next patches.
Signed-off-by: Kirill Tkhai
Reviewed-by: Cyrill Gorcunov
(cherry picked from 997f6cab4a45431595860a6235380506e59694fe
les new copy_fd_bitmaps helper function.
(cherry picked from e4a319f998910317ce1559acebecca365f85d8ba)
Signed-off-by: Andrey Zhadchenko
---
fs/file.c | 63 ---
1 file changed, 48 insertions(+), 15 deletions(-)
diff --git a/fs/file.c b/f
Signed-off-by: Andrey Zhadchenko
---
fs/file.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/fs/file.c b/fs/file.c
index 866912f..4f68ef0f 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -82,11 +82,8 @@ static void copy_fdtable(struct fdtable *nfdt, struct
fdtabl
call alua helper
before reporting group states to initiator)
c7326404fa9f9eb1211304c80051dc8514063330 (target: rename user_helper
back to alua_user_helper)
Merged all commits into one, since most of them are fixups rather than new
functionality.
Signed-off-by: Andrey Zhadche
sed to vz8:
- Deleted beancounter
- Added #ifdef CONFIG_VE
(cherry picked from d1580bf6a02ab7d2bedf4b6ecd506a2c6a44d59e)
Signed-off-by: Andrey Zhadchenko
---
kernel/cgroup/cgroup.c | 20
1 file changed, 20 insertions(+)
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgrou
rt/write_hist`
3. Stop histogram stats
`echo "" >
/target/iscsi/iqn.2003-01.org.linux-iscsi.localhost.x8664\:sn.fdee138936b9/tpgt_1/lun/lun_3/statistics/scsi_tgt_port/write_hist`
Signed-off-by: Andrey Grafin
Acked-by: Andrei Vagin
(cherry picked from dcec5ba86d70452dc79f30261c0
n struct, which zeroifies
all stats.
Signed-off-by: Konstantin Khorenko
(cherry picked from 6af064c3e24e4481ad55785a6018eb8398f84e71)
Signed-off-by: Andrey Zhadchenko
---
drivers/target/target_core_device.c| 2 ++
drivers/target/target_core_stat.c | 51
/scsi_tgt_port/read_hist
1 0 0 0 9 0 2 0 0 1 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
118807
Signed-off-by: Andrey Grafin
Acked-by: Andrei Vagin
(cherry picked from 0b0a62fe95e7c8ebf76d3b2ddeb47bfba199a302)
Signed-off-by: Andrey Zhadchenko
---
drivers/target/target_core_stat.c | 4
sed to vz8:
- Made ve_hide_cgroups non-static and added declaration to linux/cgroup.h
because it is used in proc_cgroupstats_show which now belongs to cgroup-v1.c
- Deleted beancounter
- Added #ifdef CONFIG_VE
(cherry picked from d1580bf6a02ab7d2bedf4b6ecd506a2c6a44d59e)
Signed-off-by: Andrey
uot;Use kvcalloc..."
(cherry-picked from 606b246f934c826673c95c4e6504ff1cad83fe9f)
Signed-off-by: Andrey Zhadchenko
---
fs/pipe.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/pipe.c b/fs/pipe.c
index cac019c..90de2ee 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -646,7 +64
rowse/PSBM-80340
Suggested-by: Oleg Nesterov
Signed-off-by: Kirill Tkhai
Reviewed-by: Pavel Tikhomirov
Rebase to vz8:
- Change send_sig to group_send_sig_info to respect ms a8ebd17160
(cherry picked from d61ca741c3ae5249f07484014ec73289b9266dfa)
Signed-off-by: Andrey Zhadchenko
---
driver
x41/0xa0
[855063.570670] [] SyS_epoll_wait+0xed/0x120
[855063.571049] [] system_call_fastpath+0x16/0x1b
https://pmc.acronis.com/browse/TTASK-22056
Signed-off-by: Pavel Tikhomirov
Reviewed-by: Kirill Tkhai
(cherry picked from b8b80f09fb2e3800869ec3a3ce4da98273774926)
Signed-off-by: Andrey Zh
__do_SAK() to be
not greedy of tasklist_lock. That should prevent hard lockups
I've pointed above.
https://jira.sw.ru/browse/PSBM-80340
Signed-off-by: Kirill Tkhai
Reviewed-by: Pavel Tikhomirov
(cherry picked from 6aecb63c35a56397228c2db879977db9937cb523)
Signed-off-by: Andrey Zhadchenko
by: Denis V. Lunev
(cherry-picked from 1914c29eb8754d0d8303ca73298ba6717fba42fe)
Signed-off-by: Andrey Zhadchenko
---
fs/proc/base.c | 28
include/linux/kstat.h | 3 ++-
include/linux/vzstat.h | 15 +++
kernel/exit.c | 13 +
kernel/ve/vzstat.c
7797
Signed-off-by: Andrey Ryabinin
Reviewed-by: Denis V. Lunev
(cherry-picked from 3ed23cb6c686fab5bc6b36e1e7170e07a7ee788b)
Signed-off-by: Andrey Zhadchenko
---
mm/page_alloc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 2
0ed8df6d0d18e079369cd004ff47caf119c86edb)
Signed-off-by: Andrey Zhadchenko
---
fs/proc/base.c | 18 --
include/linux/kstat.h| 5 +
include/linux/sched.h| 2 +-
include/linux/sched/signal.h | 2 +-
kernel/exit.c| 6 ++
kernel/sched/fair.c
95
Signed-off-by: Andrey Ryabinin
Reviewed-by: Kirill Tkhai
Cc: Pavel Borzenkov
Rebase to vz8:
- As signal_struct moved from sched.h to sched/signal.h so changes did
(cherry-picked from c4cb66d5e70636c2089feb602226292a2513622a)
Signed-off-by: Andrey Zhadchenko
---
fs/proc/base.c
icked from 82ddc4c43f2d97c5c0d009072e5b06acf3f3a241)
Signed-off-by: Andrey Zhadchenko
---
kernel/fork.c | 4
1 file changed, 4 insertions(+)
diff --git a/kernel/fork.c b/kernel/fork.c
index c996de5..61175de 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -919,6 +919,10 @@ static struct task_struct *dup_task_str
From: Andrey Ryabinin
Move some definitions into kstat.h, so we could use later
in other headers (sched.h)
https://jira.sw.ru/browse/PSBM-81395
Signed-off-by: Andrey Ryabinin
(cherry-picked from c98a0fae0c9a854d1eb90c56a78c84572837764f)
Signed-off-by: Andrey Zhadchenko
---
include/linux
thus measure it.
https://pmc.acronis.com/browse/VSTOR-19040
Signed-off-by: Andrey Ryabinin
(cherry-picked from 99407f6d6f504d00aa3cd3ca87782ab32b0ec364)
Signed-off-by: Andrey Zhadchenko
---
mm/page_alloc.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/mm
(cherry-picked from 6d9a9210395e1f7573f5da6be18a3362f52eea8c)
Signed-off-by: Andrey Zhadchenko
---
fs/proc/base.c| 51 +++
include/linux/sched.h | 5 +
mm/page_alloc.c | 4
3 files changed, 60 insertions(+)
diff --git a/fs/proc
Several patches that do not belong to any series
Andrey Ryabinin (2):
/proc/vz/latency: Show max latency in 2 min instead of 5sec.
mm/mempool: Use kvmalloc to allocate array of element pointers
Jan Dakinevich (4):
x86/kvm/vmx: suppress warning on high-order allocation
IB/core: use kvzallo
, if low bytes of
their value are equal to 0xfffe. Fix that
by declaration ret as unsigned long in these functions.
Reported-by: Cyrill Gorcunov
Signed-off-by: Kirill Tkhai
Acked-by: Cyrill Gorcunov
(cherry-picked from b55ead794a0f2bbca90b0bf138131731ce354699)
Signed-off-by: Andrey Zhadchenko
ement pointers to be physically
contiguous, use kvmalloc_node() to allocate it.
https://jira.sw.ru/browse/HCI-132
https://pmc.acronis.com/browse/VSTOR-14758
Signed-off-by: Andrey Ryabinin
Reviewed-by: Kirill Tkhai
(cherry-picked from 083d46fa755365a19168cbe3b9c11aad1d85b66a)
Signed-off-by: A
Signed-off-by: Andrey Zhadchenko
---
kernel/ve/vzstat.c | 2 +-
kernel/ve/vzstat_core.c | 17 +++--
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/kernel/ve/vzstat.c b/kernel/ve/vzstat.c
index 7f9fa61..0f299d8 100644
--- a/kernel/ve/vzstat.c
+++ b/kernel/v
From: Pavel Tikhomirov
We need rpc_pipefs for nfs server, but it breaks criu migration as
opened /var/lib/nfs/rpc_pipefs/nfs/clntX files are not supported yet.
Thus only allow mounting rpc_pipefs if CT has "--features nfsd:on".
Note: no additional check for ve_is_super() required because
VE0 has
From: Jan Dakinevich
These structures are not disigned for DMA'ing and don't require
physically contiguous memory.
https://jira.sw.ru/browse/HCI-140
Signed-off-by: Jan Dakinevich
Acked-by: Denis V. Lunev
(cherry-picked from 66e75bd04dabf65c2ca65e63b76125b484b577fd)
Signed-off-
from 7629b2cc58ee8d2ec0bac4ab19fa7e7c887d4d41)
Signed-off-by: Andrey Zhadchenko
---
drivers/infiniband/core/device.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c
index b0f7579..d649c5c 100644
--- a/drivers/infiniband
Dakinevich
(cherry-picked from a8c7017e8f9b07fec07a5a87e8d7e569c03c3752)
Signed-off-by: Andrey Zhadchenko
---
arch/x86/kvm/vmx/vmx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index 4411eaf..ff68628 100644
--- a/arch/x86/kvm/vmx
erent -> dma_alloc_coherent since it is now zeroing memory
(cherry-picked from 8c91e519af93fe48615b584c0fc45a3b85584fd9)
Signed-off-by: Andrey Zhadchenko
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/broadc
62fb4398386fa408186cae3998d1813e833b0f63)
Signed-off-by: Andrey Zhadchenko
---
include/linux/kstat.h | 1 +
kernel/ve/vzstat.c| 21 +++--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/include/linux/kstat.h b/include/linux/kstat.h
index 97a0f9b..6f4ba09
Andrey Ryabinin (1):
mm/page_alloc: add latency to the page_alloc tracepoint
Denis V. Lunev (1):
ms/dlm: fix possible call to kfree() for non-initialized pointer
Konstantin Khorenko (4):
vzstat: drop double KSTAT_LAT_PCPU_UPDATE declaration
vzstat: account cpu total time properly in mm pe
Khorenko
(cherry-picked from 306162b35d018f97e3b175d6bb98a4d2632cf303)
Signed-off-by: Andrey Zhadchenko
diff --git a/kernel/ve/vzstat_core.c b/kernel/ve/vzstat_core.c
index 7f8d346..f18767d 100644
--- a/kernel/ve/vzstat_core.c
+++ b/kernel/ve/vzstat_core.c
@@ -20,7 +20,7 @@ void KSTAT_PERF_ADD
From: Konstantin Khorenko
Fixes: a258c15f2c33 ("vzstat: initial patch")
Signed-off-by: Konstantin Khorenko
(cherry-picked from 8242e706656b658ecea691cc3495898e7c5e5478)
Signed-off-by: Andrey Zhadchenko
diff --git a/include/linux/vzstat.h b/include/linux/vzstat.h
index a6077e
first memory access (pagefault + memory read),
so decided not to slowdown fastpath and be aware of possible stats
incorrectness.
https://pmc.acronis.com/browse/VSTOR-16659
Signed-off-by: Konstantin Khorenko
(cherry-picked from aedfe36c7fc590da6c0da3f68818d521fc90028e)
Signed-off-by: Andre
xHash: create arch dependent 32/64-bit xxhash()
ksm: replace jhash2 with xxhash
https://jira.sw.ru/browse/PSBM-90044
(cherry-picked from 5df8dc1eb691271b92562bcfc43b458f3996596a)
Signed-off-by: Andrey Zhadchenko
diff --git a/mm/Kconfig b/mm/Kconfig
index 963532b..b64929a 100644
--- a/mm/Kconfig
e4af0cdd639de846dc8381e7978b4670a1897e17)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index cb947b7..023bf24 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -1871,6 +1871,14 @@ struct cld_upcall {
struct nfsd_net *nn = net_generic(net, nfsd_net_id
ink() anyway.
khorenko@: check for ve_is_super() is required here to allow /proc/pid/exe
link examination if we debug process entered the CT from the host.
(cherry-picked from 942ebd0c9cc870901eeaaf245efaca22ead9f540)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/proc/base.c b/fs/proc/base.c
ind
o vz8:
- fbcon.c was moved to drivers/video/fbdev/core/fbcon.c
(cherry-picked from e60259bd950c)
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
index 5fb9547..4316fd2 100644
--- a/drivers/video/fbdev/core/fbcon.c
+++ b/drivers/
h xxhash
https://jira.sw.ru/browse/PSBM-90044
(cherry-picked from 4d54c1ca1c908f02912f9d8ae2bc6d18ba8c2237)
Signed-off-by: Andrey Zhadchenko
diff --git a/include/linux/xxhash.h b/include/linux/xxhash.h
index 9e1f42c..52b073f 100644
--- a/include/linux/xxhash.h
+++ b/include/linux/xxhash.h
@@
m/page_alloc: fix latency in tracepoint.")
- b6be69d05fd4 ("mm/page_alloc: fix latency in tracepoint - addon")
- 0662cba1feed ("mm/trace: fix always 0 latency in page_alloc tracepoint")
Signed-off-by: Andrey Zhadchenko
diff --git a/include/trace/events/kmem.h b/include/t
CC: Christine Caulfield
CC: David Teigland
CC: Konstantin Khorenko
CC: cluster-de...@redhat.com
https://pmc.acronis.com/browse/VSTOR-17522
(cherry-picked from 67d128689daa97c7f34d62409f9bd2256de059ff)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/dlm/member.c b/fs/dlm/member.c
index 3
de2fec ("ms/ksm: React on changing
"sleep_millisecs" parameter faster")
Signed-off-by: Andrey Zhadchenko
---
mm/ksm.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/mm/ksm.c b/mm/ksm.c
index 5fec98b..f57c46a 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -29
nce ve->ve_netns is gone
- add #ifdef CONFIG_VE
(cherry-picked from e4af0cdd639de846dc8381e7978b4670a1897e17)
Signed-off-by: Andrey Zhadchenko
---
fs/nfsd/nfs4recover.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
inde
ether during rebase to vz8
- 483f8f01c553 ("net/drivers/i40e: suppress high order allocation warning")
- 3dec55f2ccf6 ("net/drivers/i40e: suppress high order allocation warning -
addon")
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/net/ethernet/intel/i40e/
://pmc.acronis.com/browse/VSTOR-10187
Signed-off-by: Sergey Lysanov
(cherry-picked from a65a2e655b78ac294822ed37e956815c138b1a43)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/file.c b/fs/file.c
index 0ed1c4c..e594ac4 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -949,6 +949,7 @@ int replace_fd
Jan Dakinevich (1):
ve/meminfo: show "MemAvailable: ..." line in CT's meminfo
Joel Fernandes (Google) (2):
ms/mm: speed up mremap by 20x on large regions
ms/mm: select HAVE_MOVE_PMD on x86 for faster mremap
Kirill Gorkunov (2):
net/gre: Consider VE_FEATURE_IPGRE on new net creation
net/
Konstantin Khorenko
Reviewed-by: Kirill Tkhai
(cherry-picked from 696f833c575ba3a176eecdbe3ad607256ea36397)
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/net/venetdev.c b/drivers/net/venetdev.c
index 9541ac6..d74e104 100644
--- a/drivers/net/venetdev.c
+++ b/drivers/net/venetdev
(cherry-picked from ms commit 2c91bd4a4e2e530582d6fd643ea7b86b27907151)
Signed-off-by: Andrey Zhadchenko
diff --git a/arch/Kconfig b/arch/Kconfig
index c2142af..4d7f52a 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -669,6 +669,11 @@ config HAVE_IRQ_TIME_ACCOUNTING
Archs need to
This may be useful, when CRIU remaps large memory areas on restore (but
really, alignment to PMD_SIZE is not very often, though possible).
(cherry-picked from ms 9f132f7e145506efc0744426cb338b18a54afc3b)
Signed-off-by: Andrey Zhadchenko
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index d90
from 3986d04a5b7fa1ba856861bbb98a50ca3129a240)
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/net/venetdev.c b/drivers/net/venetdev.c
index 2849f84..9541ac6 100644
--- a/drivers/net/venetdev.c
+++ b/drivers/net/venetdev.c
@@ -62,10 +62,6 @@ int veip_put(struct veip_struct *veip)
{
if (!list_empty(&ve
instead of net_assign_generic for the same reasons
as 70e5af2252244 ("net: Make ipip feature optional")
(cherry-picked from 2db99ab7bfe26fdc2002797b418f3ed15a412bce)
Signed-off-by: Andrey Zhadchenko
diff --git a/include/uapi/linux/vzcalluser.h b/include/uapi/linux/vzcalluser.h
index 8a4f
M-83199
Signed-off-by: Konstantin Khorenko
(cherry-picked from 401a588e9a3a759fb7a92aa8eab0ec96f058c9fa)
Signed-off-by: Andrey Zhadchenko
diff --git a/configs/kernel-4.18.0-x86_64-KVM-minimal.config
b/configs/kernel-4.18.0-x86_64-KVM-minimal.config
index b78e5cc..b5d987e 100644
--- a/config
ogic and bypass mark is gone for try_charge we should
just force allocation
- Use mem_page_state instead of obsolete mem_cgroup_read_stat2_fast
(cherry-picked from 1bbcb753b7f965b35c68312b11dfaa4ca65b9ed3)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/super.c b/fs/super.c
index 9fda135..c0d97
kinevich
(cherry-picked from 50cef4107c1106d547f5118a202bc8e0c0467c5c)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c
index 6e09d00..b7ed25e 100644
--- a/fs/proc/meminfo.c
+++ b/fs/proc/meminfo.c
@@ -48,6 +48,7 @@ static int meminfo_proc_show_mi(struct seq_file *m, struct
meminf
-off-by: Cyrill Gorcunov
Rebased to vz8:
- Use net_generic_free instead of net_assign_generic to reclaim memory
(cherry-picked from 184fe365300bd7be17137022b879f42a241f0aa2)
Signed-off-by: Andrey Zhadchenko
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index c29f3f2..3581d7b 100644
rry-picked from a961ad3bf5f73c8ee2b6ec9d0109facd573d6eea)
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/infiniband/hw/i40iw/i40iw_utils.c
b/drivers/infiniband/hw/i40iw/i40iw_utils.c
index 0165246..c8659e6 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_utils.c
+++ b/drivers/infiniband/hw/i4
ge_ok() in
include/linux/net.h"))
Signed-off-by: Andrey Zhadchenko
diff --git a/include/linux/net.h b/include/linux/net.h
index 8a19d8d..63bbdc3 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -25,6 +25,7 @@
#include
#include
#include
+#include
#include
@@ -309,6
icked from 377e583f2a8479b238c742a64fa7b31178b26456)
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/net/ethernet/intel/igb/igb_main.c
b/drivers/net/ethernet/intel/igb/igb_main.c
index b46bff8..51b01cc 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/inte
nin
Rebased to vz8:
- Changed kfree to kvfree in i40iw_open
(cherry-picked from 6e8fb485b168001eb92294fcdef1ac865bfd1afa)
Signed-off-by: Andrey Zhadchenko
diff --git a/drivers/infiniband/hw/i40iw/i40iw_main.c
b/drivers/infiniband/hw/i40iw/i40iw_main.c
index 313c68e5..9b9ea66 100644
--- a/driv
Instead of original commit 6c05ade2b7ac ("tcp: sendpage should not handle Slab
objects")
I used it's mainstream version a10674bf2406 ("tcp: detecting the misuse of
.sendpage for Slab objects")
Moreover I decided to add fixes:
- c381b07941ad ("net: introduce helper sendpage_ok() in include/linux/
isuse of .sendpage
for Slab objects"))
Signed-off-by: Andrey Zhadchenko
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 4196685..538d63c 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -961,6 +961,10 @@ ssize_t do_tcp_sendpages(struct sock *sk, struct page
*page, int offset,
40e]
[] process_one_work+0x182/0x440
[] worker_thread+0x126/0x3c0
[] kthread+0xd1/0xe0
[] ret_from_fork_nospec_begin+0x21/0x21
https://pmc.acronis.com/browse/VSTOR-20675
Signed-off-by: Andrey Ryabinin
(cherry-picked from 8d04a6f7c4d7d85e44fb4e93cafaf9a5a8f00759)
Signed-off-by: Andrey Zhadchenko
d
use of .sendpage for Slab objects")
Suggested-by: Eric Dumazet
Signed-off-by: Coly Li
Cc: Vasily Averin
Cc: David S. Miller
Cc: sta...@vger.kernel.org
Signed-off-by: David S. Miller
(cherry-picked from ms cf83a17edeeb ("tcp: use sendpage_ok() to detect misused
.sendpage"))
Signed-
detection timeout up to 5 sec")
- 5381f4f189e1 ("drivers/igb: increase link detection timeout up to 10 sec")
Signed-off-by: Andrey Zhadchenko
---
drivers/net/ethernet/intel/igb/igb_main.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethe
Andrey Ryabinin (2):
fs/super: don't destroy super_block in case of leaked inodes
fs/nfs: more leaks for busy inodes case.
Jan Dakinevich (1):
ve/cpu: handle sysfs attributes for CTs
Vasiliy Averin (1):
kvm: use kvzalloc for struct kvm allocation
drivers/base/cpu.c | 17 ++
From: Andrey Ryabinin
Signed-off-by: Andrey Ryabinin
(cherry picked from commit a0f1aed946883bdbce232a77b63d2d9311e39677)
Signed-off-by: Andrey Zhadchenko
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index d8ee94a..373e5cf 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -931,6 +931,9
1 - 100 of 477 matches
Mail list logo