Re: [Devel] [PATCH 2/4] mm, slub, kasan: enable user tracking by default.

2015-09-07 Thread Vladimir Davydov
On Mon, Sep 07, 2015 at 05:11:29PM +0300, Andrey Ryabinin wrote: > > > On 09/07/2015 04:56 PM, Vladimir Davydov wrote: > > On Fri, Sep 04, 2015 at 05:06:14PM +0300, Andrey Ryabinin wrote: > > ... > >> @@ -457,6 +457,8 @@ static void get_map(struct kmem_cache *s, struct page > >> *page, unsigned

Re: [Devel] [PATCH 3/4] kasan: always taint kernel on report.

2015-09-07 Thread Andrey Ryabinin
On 09/07/2015 04:59 PM, Vladimir Davydov wrote: > On Fri, Sep 04, 2015 at 05:06:15PM +0300, Andrey Ryabinin wrote: > ... >> diff --git a/mm/kasan/report.c b/mm/kasan/report.c >> index ad69bac..17af572 100644 >> --- a/mm/kasan/report.c >> +++ b/mm/kasan/report.c >> @@ -212,6 +212,7 @@ static void ka

Re: [Devel] [PATCH 2/4] mm, slub, kasan: enable user tracking by default.

2015-09-07 Thread Andrey Ryabinin
On 09/07/2015 04:56 PM, Vladimir Davydov wrote: > On Fri, Sep 04, 2015 at 05:06:14PM +0300, Andrey Ryabinin wrote: > ... >> @@ -457,6 +457,8 @@ static void get_map(struct kmem_cache *s, struct page >> *page, unsigned long *map) >> */ >> #ifdef CONFIG_SLUB_DEBUG_ON >> static int slub_debug =

Re: [Devel] [PATCH 3/4] kasan: always taint kernel on report.

2015-09-07 Thread Vladimir Davydov
On Fri, Sep 04, 2015 at 05:06:15PM +0300, Andrey Ryabinin wrote: ... > diff --git a/mm/kasan/report.c b/mm/kasan/report.c > index ad69bac..17af572 100644 > --- a/mm/kasan/report.c > +++ b/mm/kasan/report.c > @@ -212,6 +212,7 @@ static void kasan_report_error(struct kasan_access_info > *info) >

Re: [Devel] [PATCH 2/4] mm, slub, kasan: enable user tracking by default.

2015-09-07 Thread Vladimir Davydov
On Fri, Sep 04, 2015 at 05:06:14PM +0300, Andrey Ryabinin wrote: ... > @@ -457,6 +457,8 @@ static void get_map(struct kmem_cache *s, struct page > *page, unsigned long *map) > */ > #ifdef CONFIG_SLUB_DEBUG_ON > static int slub_debug = DEBUG_DEFAULT_FLAGS; > +#elif defined (CONFIG_KASAN) > +sta

[Devel] [PATCH rh7 3/3] mm: memcg: use proper memcg in limit bypass

2015-09-07 Thread Vladimir Davydov
From: Johannes Weiner Commit 84235de394d9 ("fs: buffer: move allocation failure loop into the allocator") allowed __GFP_NOFAIL allocations to bypass the limit if they fail to reclaim enough memory for the charge. But because the main test case was on a 3.2-based system, the patch missed the fact

[Devel] [PATCH rh7 2/3] fs: buffer: move allocation failure loop into the allocator

2015-09-07 Thread Vladimir Davydov
From: Johannes Weiner Buffer allocation has a very crude indefinite loop around waking the flusher threads and performing global NOFS direct reclaim because it can not handle allocation failures. The most immediate problem with this is that the allocation may fail due to a memory cgroup limit, w

[Devel] [PATCH rh7 1/3] Revert diff-ubc-allocate-bdev-cache-with-__GFP_NOFAIL

2015-09-07 Thread Vladimir Davydov
The hunk being reverted was brought by the initial commit 2a8b5de959180. The problem this hunk addresses, i.e. potential live lock in grow_dev_page (see PSBM-12523 for more details), has been fixed upstream and the following patch backports the fix. Signed-off-by: Vladimir Davydov --- fs/buffer.

[Devel] [PATCH rh7] memcg: fix __GFP_NORETRY check

2015-09-07 Thread Vladimir Davydov
When backporting mainstream commit 28c34c291e74 I misplaced the __GFP_NORETRY check by mistake: if this flag is passed we should give up after the first unsuccessful reclaim attempt, while I placed the check so that we can retry reclaim many times. Fix that. Fixes: 8aee40dd982b ("ms/mm: memcontrol

[Devel] [PATCH] kexec, kasan: increase KEXEC_AUTO_RESERVED_SIZE under CONFIG_KASAN=y

2015-09-07 Thread Andrey Ryabinin
CONFIG_KASAN=y significantly increases kernel's memory usage. 160Mb for crash kernel is not enough. Increase it up to 196Mb. https://jira.sw.ru/browse/PSBM-39339 Signed-off-by: Andrey Ryabinin --- include/asm-generic/kexec.h | 4 1 file changed, 4 insertions(+) diff --git a/include/asm-ge

[Devel] [PATCH RHEL7 COMMIT] gfp: add __get_free_kmem_pages helper

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 062f5a65f378f56a06edd3b6a4b42356c5bf5aba Author: Vladimir Davydov Date: Mon Sep 7 14:15:47 2015 +0400 gfp: add __get_free_k

[Devel] [PATCH RHEL7 COMMIT] fs: account anon pipe buffers to memcg/kmem

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 27d43fe0e073f5e40d5289ab336aae21990b53fc Author: Vladimir Davydov Date: Mon Sep 7 14:15:47 2015 +0400 fs: account anon pipe

[Devel] [PATCH RHEL7 COMMIT] ve/tty: vt -- Implement per VE support for console and terminals

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 198d52034aa3ed7c9e3695ace34df8c16aaa7225 Author: Cyrill Gorcunov Date: Mon Sep 7 14:15:48 2015 +0400 ve/tty: vt -- Implemen

[Devel] [PATCH RHEL7 COMMIT] arch: x86: charge page tables to memcg/kmem

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit a9a6c8559647338a7eec15fa5bde09c2bcb9fa61 Author: Vladimir Davydov Date: Mon Sep 7 14:15:48 2015 +0400 arch: x86: charge pag

[Devel] [PATCH RHEL7 COMMIT] quota: missing lock in dqcache_shrink_scan()

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 51364e080f990bd1ac9b4a7a8b8ba036d806ccb9 Author: Niu Yawei Date: Mon Sep 7 14:15:48 2015 +0400 quota: missing lock in dqcac

[Devel] [PATCH RHEL7 COMMIT] Revert "mm: account all page tables for mm"

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit c71b067ce64b79b66a44f985488317b213cb8495 Author: Vladimir Davydov Date: Mon Sep 7 14:15:47 2015 +0400 Revert "mm: account a

[Devel] [PATCH RHEL7 COMMIT] sched/fair: only update current task boost

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit e0e09e8e04e11319568ed71e13214a7d4e5810c7 Author: Vladimir Davydov Date: Mon Sep 7 14:15:46 2015 +0400 sched/fair: only upda

[Devel] [PATCH RHEL7 COMMIT] mm: vmscan: do not scan lruvec if it seems to be unreclaimable

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 92dd01fd61017f4efc7819bc5f5711981dcd6a88 Author: Vladimir Davydov Date: Mon Sep 7 14:15:46 2015 +0400 mm: vmscan: do not sc

[Devel] [PATCH RHEL7 COMMIT] vmalloc: account to memcg/kmem

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit ea41708879ed7a545039011df08f01ea720e137d Author: Vladimir Davydov Date: Mon Sep 7 14:15:46 2015 +0400 vmalloc: account to m

[Devel] [PATCH RHEL7 COMMIT] mm: vmscan: fix do_try_to_free_pages() livelock

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit a6a2f003599a2729fd5f5d9fabcfc979b29b1b3b Author: Lisa Du Date: Mon Sep 7 14:15:45 2015 +0400 mm: vmscan: fix do_try_to_free

[Devel] [PATCH RHEL7 COMMIT] oom: do not dump all tasks info on each oom kill

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 4c6ca842a16f63816407247a696360b77348a566 Author: Vladimir Davydov Date: Mon Sep 7 14:15:45 2015 +0400 oom: do not dump all

[Devel] [PATCH RHEL7 COMMIT] mm: vmscan: fix the page state calculation in too_many_isolated

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 064aaf330044a444a4a9031c4826173c22e700a2 Author: Vinayak Menon Date: Mon Sep 7 14:15:45 2015 +0400 mm: vmscan: fix the page

[Devel] [PATCH RHEL7 COMMIT] oom: zap oom_report_invocation proto

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit 4222efe1eb32129c88f20ee29f3c7d713b640e98 Author: Vladimir Davydov Date: Mon Sep 7 14:15:44 2015 +0400 oom: zap oom_report_i

[Devel] [PATCH RHEL7 COMMIT] Revert "ve/mm: ignore oom_score_adj of containerized tasks on global OOM"

2015-09-07 Thread Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.7 --> commit be12c3cce517a1f9eb818b151b5497b351bcd36b Author: Vladimir Davydov Date: Mon Sep 7 14:15:44 2015 +0400 Revert "ve/mm: ignore

[Devel] [Announce] Checkpoint-restore tool v1.7

2015-09-07 Thread Pavel Emelyanov
Hello everyone! The 1.7 is out. We have quite a lot of new stuff this time. Many new small features, many bugfixes. We also had our first CVE-s found, held first CRIU-oriented (micro)conference in Seattle and set up a PPC box for CI testing! The full change-log is http://criu.org/Download/criu/1.

[Devel] [PATCH rh7] Revert "mm: account all page tables for mm"

2015-09-07 Thread Vladimir Davydov
This reverts commit 86c4127b5cbdcf9a3d182c53d48159153af40c40. This commit added mm_struct->nr_ptds, which counts the number of page table directories used by a process. It was ported from PCS6. In PCS6 it is used for precharging page tables to UB_KMEMSIZE on fork. Plus, the counter is reported in