[Devel] [PATCH rh7] Unexport everything CPT-related

2015-05-22 Thread Vladimir Davydov
No more CPT in kernel. Hopefully, I haven't missed anything. [This patch reverts parts of commit 1da9426dc5c49] Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- arch/x86/include/asm/tlbflush.h |1 - arch/x86/kernel/ldt.c |1 - arch/x86/mm/tlb.c |

[Devel] [PATCH rh7] mm: zap pte_ptrs and same_ub macros

2015-05-22 Thread Vladimir Davydov
They were added by commit 1da9426dc5c49, which ported stuff from RH6. They are not used, so zap them. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- mm/memory.c |7 --- 1 file changed, 7 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 1214542a019c..2f098395b242

[Devel] [PATCH rh7 0/2] Implement UB_DCACHESIZE stats

2015-05-22 Thread Vladimir Davydov
See individual patches for more details. Related to https://jira.sw.ru/browse/PSBM-20089 Vladimir Davydov (2): memcg: account dcache size memcg: sync UB_DCACHESIZE include/linux/memcontrol.h |3 --- kernel/bc/beancounter.c|3 ++- kernel/bc/vm_pages.c |1 -

[Devel] [PATCH rh7 2/2] memcg: sync UB_DCACHESIZE

2015-05-22 Thread Vladimir Davydov
Sync it with mem_cgroup-dcache. Disallow setting the limit, because we do not support it, and issue a warning if the user tries to set it via the legacy UB interface, just like we do in case with UB_KMEMSIZE. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- kernel/bc/beancounter.c |

[Devel] [PATCH rh7 1/2] memcg: account dcache size

2015-05-22 Thread Vladimir Davydov
We need to show dcachesize stats in the UB API. Since we need to record max usage, we use a plain res_counter instead of going with per cpu counters. The following patch will make beancounter pull this value from memcg whenever necessary. Signed-off-by: Vladimir Davydov vdavy...@parallels.com ---

[Devel] [PATCH RHEL7 COMMIT] proc/oom: fix oom_score output

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit 750e0fe2c75235f88b0f391136a7eb07674ba737 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri May 22 18:41:25 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ub/dcache: get rid of dcache accounting related stuff

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit c2dfa349100d4cfddc54104cafc74ca9ef09f7ce Author: Vladimir Davydov vdavy...@parallels.com Date: Fri May 22 18:40:58 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] bc/oom: zap oom kill related stuff

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit 033e46f2a9faff27e286af70c8ecfffdb25d4dc0 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri May 22 18:41:32 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ub: remove CONFIG_BC_RSS_ACCOUNTING

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit 7908ef6f6f0696f3a5ea51fafc12c42696e6f287 Author: Vladimir Davydov vdavy...@parallels.com Date: Fri May 22 18:39:00 2015 +0400

[Devel] [PATCH rh7] Port diff-ubc-initialize-all-beancounters-as-unlimited

2015-05-22 Thread Vladimir Davydov
Port the following RH6 commit: Author: Konstantin Khlebnikov Email: khlebni...@openvz.org Subject: UBC: initialize all beancounters as unlimited Date: Tue, 19 Feb 2013 13:11:03 +0400 Here more accurate version of Dmitry's patch. * we must set vmguarpages.barrier to zero to obey

[Devel] [PATCH RHEL7 COMMIT] bc/sysinfo: remove dead code

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit 33e71af96384f27550118b36f555cac4126bb83d Author: Vladimir Davydov vdavy...@parallels.com Date: Fri May 22 18:41:12 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ploop: add a separate queue for discard bio-s (v2)

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit 7642ae514c8ccfbd962a4a6b42e84bd93ef33e69 Author: Andrey Smetanin asmeta...@virtuozzo.com Date: Fri May 22 18:45:38 2015 +0400

[Devel] [PATCH RHEL7 COMMIT] ploop: fix busyloop on secondary discard bio

2015-05-22 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-123.1.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-123.1.2.vz7.5.5 -- commit f3a874d5028d4ab3e010087866c47972092af9ad Author: Andrey Smetanin asmeta...@virtuozzo.com Date: Fri May 22 18:45:45 2015 +0400

Re: [Devel] [PATCH rh7 07/11] ub: cleanup cgroup attaching code

2015-05-22 Thread Konstantin Khorenko
Kirill, please review. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 05/20/2015 03:09 PM, Vladimir Davydov wrote: Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- kernel/bc/beancounter.c | 52 +++ 1 file