We should report these bits in 8008 EBX on AMD only, i.e. when AMD
specific feature bits are enabled.
Signed-off-by: Denis V. Lunev
CC: Vasily Averin
CC: Konstantin Khorenko
---
arch/x86/kvm/cpuid.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Similarly to the 64-bit vdso, make 32-bit vdso mapping per-ve.
This will allow per container modification of the linux version
xin .note section of vdso and monotonic time.
https://jira.sw.ru/browse/PSBM-121668
Signed-off-by: Andrey Ryabinin
---
arch/x86/entry/vdso/vma.c| 4 ++--
On the write to ve.os_release file patch the linux_version_code
in the .note section of vdso.
https://jira.sw.ru/browse/PSBM-121668
Signed-off-by: Andrey Ryabinin
---
arch/x86/entry/vdso/vdso-note.S | 2 ++
arch/x86/entry/vdso/vdso2c.c | 1 +
arch/x86/entry/vdso/vdso32/note.S | 2 ++
Make vdso mapping per-ve. This will allow per container modification
of the linux version in .note section of vdso and monotonic time.
https://jira.sw.ru/browse/PSBM-121668
Signed-off-by: Andrey Ryabinin
---
arch/x86/entry/vdso/vma.c| 3 ++-
arch/x86/kernel/process_64.c | 2 +-
Make possible to read virtualized container's CLOCK_MONOTONIC time
via __vclock_getttime(). Record containers start time in per-ve
vdso and substruct it from the host's time on clock read.
https://jira.sw.ru/browse/PSBM-121668
Signed-off-by: Andrey Ryabinin
---
On 10/19/20 7:32 PM, Konstantin Khorenko wrote:
> From: Andrey Ryabinin
>
> Move swapped in anon pages directly to active list. This should
> help us to prevent anon thrashing. Recently swapped in pages
> has more chances to stay in memory.
>
> https://pmc.acronis.com/browse/VSTOR-20859
>
On 10/19/20 5:27 PM, Konstantin Khorenko wrote:
> From: Kirill Tkhai
>
> Customize /proc/swaps when showing from !ve_is_super.
> Extracted from "Initial patch".
>
> Signed-off-by: Kirill Tkhai
>
> (cherry picked from vz7 commit 88c087f1fdb4b0f7934804269df36035ab6b83eb)
> Signed-off-by:
This patch is a part of vz7 commit (only avenrun part)
34a1dc1e4e3d ("sched: Account task_group::cpustat,taskstats,avenrun")
Extracted from "Initial patch".
Signed-off-by: Kirill Tkhai
+++
ve/sched: Do not use kstat_glb_lock to update kstat_glob::nr_unint_avg
The patch is based on following vz7 commits:
ecdce58b214c ("sched: Export per task_group statistics_work")
a58fb58bff1c ("Use ve init task's css instead of opening cgroup via vfs")
5f2a49a05629 ("sched/ve: Use cfs_rq::h_nr_running to count loadavg")
vz8 rebase notes:
1) cpu cgroup vz
This should be a part of commit
127bd48f3385 ("vzstat: Add vzstat module and kstat interfaces")
but depends on task_group::avenrun accounting and thus goes separately.
Signed-off-by: Konstantin Khorenko
---
kernel/sched/loadavg.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
Fixes: 688c65f8eaf1 ("ve: Virtualize sysinfo")
TODO: move appropriate hunk to this commit from the commit above
Signed-off-by: Konstantin Khorenko
---
kernel/sys.c | 4
1 file changed, 4 deletions(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index 2646c8041258..e7e07ea8d7ef 100644
---
From: Kirill Tkhai
This will be used in next patches to call calc_load_ve() out of jiffies lock.
Signed-off-by: Kirill Tkhai
=
Patchset description:
Make calc_load_ve() be executed out of jiffies_lock
https://jira.sw.ru/browse/PSBM-84967
Kirill Tkhai (3):
From: Kirill Tkhai
The idea is to link small number of VE root cpu cgroups
to a separate list. This allows to avoid unnecessary
calculations of loadavg for VE children cpu cgroups
in next patches, and it should positively improve
the performance of calc_load_ve().
Current patchset is a rework of following vz7 patches:
5655edce75a2 vzstat: Add kstat_glob.nr_unint_avg real accounting
7ca32010adaa ve/proc/loadavg: Virtualize /proc/loadavg in Containers
feba442cc064 sched: Call calc_load_ve() out of jiffies_lock
3c158be41cd2 sched: Export
14 matches
Mail list logo