[Devel] [PATCH RH7] cgroup: add export_operations to cgroup super block

2020-07-24 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7 v2] cgroup: add export_operations to cgroup super block

2020-07-24 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7 v3] cgroup: add export_operations to cgroup super block

2020-07-28 Thread Andrey Zhadchenko
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

Re: [Devel] [PATCH RH7 v3] cgroup: add export_operations to cgroup super block

2020-07-29 Thread Andrey Zhadchenko
_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

[Devel] [PATCH RH7 v4] cgroup: add export_operations to cgroup super block

2020-07-30 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7 2/3] net: openvswitch: free vport unless register_netdevice() succeeds

2020-08-14 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7 0/3] net: openvswitch: add capability to specify ifindex of new links

2020-08-14 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7 3/3] net: openvswitch: add capability to specify ifindex of new links

2020-08-14 Thread Andrey Zhadchenko
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 |

[Devel] [PATCH RH7 1/3] net: openvswitch: do not free vport if register_netdevice() is failed.

2020-08-14 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] net: openvswitch: add capability to specify ifindex of new links

2020-08-17 Thread Andrey Zhadchenko
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 |

[Devel] [PATCH RH7] ipc: add export_operations to mqueue sb

2020-09-08 Thread Andrey Zhadchenko
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

Re: [Devel] [PATCH RH7] ipc: add export_operations to mqueue sb

2020-09-24 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7] overlayfs: avoid permission check for priveleged processes

2020-10-13 Thread Andrey Zhadchenko
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

Re: [Devel] [PATCH RH7] overlayfs: avoid permission check for priveleged processes

2020-10-14 Thread Andrey Zhadchenko
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

Re: [Devel] [PATCH RH7 v4] cgroup: add export_operations to cgroup super block

2020-10-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7] cgroup: rework reference acquisition for cgroup_find_inode

2020-10-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH7] netlink: add an option to set sk->err from userspace

2020-10-28 Thread Andrey Zhadchenko
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

[Devel] [PATCH 2/2 RH7] netlink: add an option to set sk->err from userspace

2020-10-29 Thread Andrey Zhadchenko
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 +

[Devel] [PATCH 1/2 RH7] netlink: protect NETLINK_REPAIR2

2020-10-29 Thread Andrey Zhadchenko
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

[Devel] [PATCH 1/2 RH7 v2] netlink: protect NETLINK_REPAIR2

2020-10-29 Thread Andrey Zhadchenko
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

[Devel] [PATCH 2/2 RH7 v2] netlink: add an option to set sk->err from userspace

2020-10-29 Thread Andrey Zhadchenko
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

[Devel] [PATCH rh8 2/2] netlink: add an option to set sk->err from userspace

2020-11-11 Thread Andrey Zhadchenko
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 +

[Devel] [PATCH rh8 1/2] netlink: protect NETLINK_REPAIR

2020-11-11 Thread Andrey Zhadchenko
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

[Devel] [PATCH rh7 v2] cgroup: rework reference acquisition for cgroup_find_inode

2020-11-11 Thread Andrey Zhadchenko
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

[Devel] [PATCH rh7 v2] cgroup: rework reference acquisition for cgroup_find_inode

2020-11-12 Thread Andrey Zhadchenko
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. > > > >

[Devel] [PATCH RH7] commoncap: relax setxattr and removexattr checks

2020-11-16 Thread Andrey Zhadchenko
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

[Devel] [PATCH rh7 v2] commoncap: relax setxattr and removxattr checks

2020-11-16 Thread Andrey Zhadchenko
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

[Devel] [PATCH rh7] overlayfs: relax capable check for trusted prefix xattrs

2021-01-12 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] ve/fs: Export fs.aio-max-nr via ve cgroup

2021-04-07 Thread Andrey Zhadchenko
'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 ---

[Devel] [PATCH RH8 v2] ve/fs: Export fs.aio-max-nr via ve cgroup

2021-04-07 Thread 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

[Devel] [PATCH RH8] config: enable BCACHE as a module

2021-04-15 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] drivers/bnx2x: Limit setting of the max mtu

2021-04-15 Thread Andrey Zhadchenko
/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

[Devel] [PATCH RH8] kstat: Make kstat_glob::swap_in percpu

2021-04-19 Thread 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

[Devel] [PATCH RH8 1/3] ve/fs/files: Add new argument to expand_files()

2021-04-19 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 3/3] ve/fs/files: Shrink big fdtable on close in is_pseudosuper mode

2021-04-19 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 2/3] ve/fs/files: Add fdtable_align() helper

2021-04-19 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] target: add an user-mode helper to handle changes of a group state

2021-04-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] ve/cgroup: hide ve and ub cgroups in CT

2021-04-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 2/3] target: add histogram for LUN statistics

2021-04-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 1/3] target: add extra counters for LUN statistics

2021-04-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 3/3] target: add read/write/sync latency counter

2021-04-26 Thread Andrey Zhadchenko
/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

[Devel] [PATCH RH8 v2] ve/cgroup: hide ve and ub cgroups in CT

2021-04-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] fs/pipe: Use kvcalloc for pipe buffers

2021-05-06 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 1/2] tty: Avoid threads files iterations in __do_SAK()

2021-05-06 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] fence-watchdog: print alive messages

2021-05-06 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 2/2] tty: Use RCU read lock to iterate tasks and threads in __do_SAK()

2021-05-06 Thread Andrey Zhadchenko
__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

[Devel] [PATCH RH8 6/8] /proc//vz_latency: Show maximal allocation latency in the last second.

2021-05-18 Thread 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

[Devel] [PATCH RH8 5/8] vz_latency: don't account allocations in interrupts to random tasks

2021-05-18 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 7/8] /proc//vz_latency: Add scheduling stats

2021-05-18 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 4/8] ve/fs/proc: Make per-thread and per-process allocation latencies.

2021-05-18 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 3/8] ve/kstat/alloc_lat: Initialize alloc_lat to zero at start

2021-05-18 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 1/8] ve/vzstat.h: move some kstat definitions into new header

2021-05-18 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 8/8] mm/page_alloc: use sched_clock() instead of jiffies to measure latency

2021-05-18 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 2/8] ve/page_alloc, kstat: account allocation latencies per-task

2021-05-18 Thread Andrey Zhadchenko
(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

[Devel] [PATCH 0/8] port part 19

2021-05-21 Thread Andrey Zhadchenko
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

[Devel] [PATCH 6/8] mm: Fix int overflow in callers of do_shrink_slab()

2021-05-21 Thread Andrey Zhadchenko
, 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

[Devel] [PATCH 2/8] mm/mempool: Use kvmalloc to allocate array of element pointers

2021-05-21 Thread 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

[Devel] [PATCH 1/8] /proc/vz/latency: Show max latency in 2 min instead of 5sec.

2021-05-21 Thread Andrey Zhadchenko
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

[Devel] [PATCH 3/8] ve/sunrpc: prohibit mounting rpc_pipefs in CT without nfsd feature

2021-05-21 Thread Andrey Zhadchenko
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

[Devel] [PATCH 8/8] bnx2: use kvzalloc() to allocate certain internal data

2021-05-21 Thread Andrey Zhadchenko
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-

[Devel] [PATCH 5/8] IB/core: use kvzalloc to allocate ib_device

2021-05-21 Thread Andrey Zhadchenko
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

[Devel] [PATCH 4/8] x86/kvm/vmx: suppress warning on high-order allocation

2021-05-21 Thread Andrey Zhadchenko
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

[Devel] [PATCH 7/8] bnx2x: suppress warnings on DMA memory allocation

2021-05-21 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] /proc/vz/latency: distinguish atomic allocations in irq from in task atomics.

2021-05-24 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 00/10] port part 20 first half

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 02/10] vzstat: account cpu total time properly in mm performance stats

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 01/10] vzstat: drop double KSTAT_LAT_PCPU_UPDATE declaration

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 03/10] vzstat: account "page_in" and "swap_in" in nanoseconds

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 07/10] ms/ksm: replace jhash2 with xxhash

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 08/10] nfsd: disable UMH client tracking in nested net namespaces

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 10/10] ve: prohibit opening proc/self/exe from VE for VD_VE_ENTER_TASK

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 05/10] fbcon: use kvmalloc() for scrollback buffer

2021-05-26 Thread Andrey Zhadchenko
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/

[Devel] [PATCH RH8 06/10] ms/xxHash: create arch dependent 32/64-bit xxhash()

2021-05-26 Thread Andrey Zhadchenko
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 @@

[Devel] [PATCH RH8 09/10] mm/page_alloc: add latency to the page_alloc tracepoint

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 04/10] ms/dlm: fix possible call to kfree() for non-initialized pointer

2021-05-26 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8] ksm: react on changing "sleep_millisecs" parameter faster

2021-05-31 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 v2] nfsd: disable UMH client tracking in nested net namespaces

2021-06-01 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 01/11] net/drivers/i40e: suppress high order allocation warning

2021-06-04 Thread Andrey Zhadchenko
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/

[Devel] [PATCH RH8 09/11] fs: Export symbols replace_fd() and create_pipe_files()

2021-06-04 Thread Andrey Zhadchenko
://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

[Devel] [PATCH RH8 00/11] port part 22

2021-06-04 Thread Andrey Zhadchenko
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/

[Devel] [PATCH RH8 03/11] venetdev: fix race between veip shutdown and add veip entry

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 04/11] ms/mm: speed up mremap by 20x on large regions

2021-06-04 Thread Andrey Zhadchenko
(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

[Devel] [PATCH RH8 05/11] ms/mm: select HAVE_MOVE_PMD on x86 for faster mremap

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 02/11] venetdev: drop src_lh/dst_lh lists from veip_struct

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 06/11] net/gre: Consider VE_FEATURE_IPGRE on new net creation

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 08/11] configs: disable cpu partial slab support

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 11/11] mm: allow kmem limit bypassing if reclaimable slabs detected

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 10/11] ve/meminfo: show "MemAvailable: ..." line in CT's meminfo

2021-06-04 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 07/11] net/ip6ip: Consider VE_FEATURE_IPIP on new net creation

2021-06-04 Thread Andrey Zhadchenko
-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

[Devel] [PATCH RH8 4/7] i40iw: Use kvzalloc in i40iw_allocate_virt_mem()

2021-06-08 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 6/7] net: introduce helper sendpage_ok() in include/linux/net.h

2021-06-08 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 1/7] drivers/igb: increase link detection timeout up to 5 sec

2021-06-08 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 3/7] i40iw: Use kvzalloc to allocate i40iw_handler

2021-06-08 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 0/7] port part 23

2021-06-08 Thread Andrey Zhadchenko
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/

[Devel] [PATCH RH8 5/7] tcp: detecting the misuse of .sendpage for Slab objects

2021-06-08 Thread Andrey Zhadchenko
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,

[Devel] [PATCH RH8 2/7] i40iw: use kvzalloc to allocate array of control qp requests

2021-06-08 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 7/7] tcp: use sendpage_ok() to detect misused .sendpage

2021-06-08 Thread Andrey Zhadchenko
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-

[Devel] [PATCH RH8 v2 1/7] drivers/igb: increase link detection timeout up to 5 sec

2021-06-09 Thread Andrey Zhadchenko
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

[Devel] [PATCH RH8 0/4] port part 26

2021-06-16 Thread Andrey Zhadchenko
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 ++

[Devel] [PATCH RH8 2/4] fs/nfs: more leaks for busy inodes case.

2021-06-16 Thread Andrey Zhadchenko
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   2   3   4   5   >