-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/page_alloc.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index cd8ed1f5543e..f08ddeb77b82 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3147,16 +3147,11 @@ stati
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 <aryabi...@virtuozzo.com>
---
include/linux/kstat.h | 45 +
include/linux/vzstat.
We use mostly 64-bit systems this days. Since they don't have higmem
it's better to not segregate GFP_HIGHMEM and !GFP_HIGHMEM latencies.
https://jira.sw.ru/browse/PSBM-81395
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/vzstat.h | 6 ++
kernel/ve/vz
Vstorage wants per-task allocation latencies.
This adds /proc//vz_latency which outputs max/total latencies
and count of allocation attempts.
https://jira.sw.ru/browse/PSBM-81395
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
fs/proc/base.c
On 02/13/2018 07:52 PM, Alexey Kuznetsov wrote:
> Hello!
>
> BTW, check this a few lines above:
>
> gfp_head = gfp_mask;
> if (gfp_head & __GFP_WAIT)
> gfp_head |= __GFP_REPEAT;
>
> What is this??
>
Can't tell you why this was added and what purpose does it
ira.sw.ru/browse/PSBM-81488
(cherry picked from commit fb05e7a89f500cfc06ae277bdc911b281928995d)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
net/core/skbuff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index
rted-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 325dee2cd903..62bc6fd7ceb8 100644
--- a/mm/memcontrol.
ew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-80732
(cherry picked from commit 3fbe724424fb104aaca9973389b4a9df428c3e2a)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c
ned-off-by: Linus Torvalds <torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-80732
(cherry picked from commit b70a2a21dc9d4ad455931b53131a0cb4fc01fafe)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c | 70 +--
tes
-bash: echo: write error: Device or resource busy
Instead of relying on retry_count, keep retrying the reclaim until the
desired limit is reached or fail if the reclaim doesn't make any progress
or a signal is pending.
https://jira.sw.ru/browse/PSBM-80732
Signed-off-by: Andrey Ryabinin <aryab
u Zhao <yuz...@google.com>
Acked-by: Vladimir Davydov <vdavydov@gmail.com>
Acked-by: Michal Hocko <mho...@suse.com>
Cc: Johannes Weiner <han...@cmpxchg.org>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-80732
Si
119132544.19569-1-aryabi...@virtuozzo.com
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
Acked-by: Michal Hocko <mho...@suse.com>
Reviewed-by: Andrew Morton <a...@linux-foundation.org>
Cc: Shakeel Butt <shake...@google.com>
Cc: Johannes Weiner <han...@cmpxchg.org>
Cc
something it's not related.
(cherry picked from commit 519ebea3bf6df45439e79c54bda1d9e29fe13a64)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c | 98 -
1 file changed, 69 insertions(+), 29 deletions(-)
diff --git a/mm/mem
il Babka <vba...@suse.cz>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-61409
(cherry picked from commit 5bccd16657e893e52e96547e7c2b5729d78d4e45)
Signed-off-by: Andrey Ryabinin &l
Cc: Vladimir Davydov <vdavy...@virtuozzo.com>
Cc: Vlastimil Babka <vba...@suse.cz>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-61409
(cherry-picked from ede37713737
t;torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-61409
(cherry picked from commit 3c710c1ad11b4a856a396b181911568f3851a5d8)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/vmscan.c | 62 ++---
1 file changed, 31
jira.sw.ru/browse/PSBM-61409
(cherry-picked from 9d998b4f1e39abd69441d29a1ef3250514479267)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/trace/events/vmscan.h | 36
mm/vmscan.c | 19 +++
2 files changed, 51 insertions(+), 4 dele
of reclaim stat
instead of just per-lru.
https://jira.sw.ru/browse/PSBM-61409
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/vmscan.c | 109 ++--
1 file changed, 54 insertions(+), 55 deletions(-)
diff --git a/mm/vmscan.
yet, that's would be the next patch.
https://jira.sw.ru/browse/PSBM-61409
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/vmscan.c | 39 ---
1 file changed, 28 insertions(+), 11 deletions(-)
diff --git a/mm/vmscan.c b/mm/vmscan.c
Even if zone congested it might be better to continue reclaim as we
may allocate memory from another zone. So call in wait_iff_congested()
only if we have troubles in reclaiming memory.
https://jira.sw.ru/browse/PSBM-61409
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/vm
n.org>
(cherry picked from commit 91ca9186484809c57303b33778d841cc28f696ed)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mm/compaction.c b/mm/compaction.c
index 9f2abe03d1aa..ee0c1e4aecd7 100644
--- a/mm/com
on.org>
(cherry picked from commit c96b9e508f3d06ddb601dcc9792d62c044ab359e)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 56 +++-
1 file changed, 27 insertions(+), 29 deletions(-)
diff --git a/mm/compa
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit f8c9301fa5a2a8b873c67f2a3d8230d5c13f61b7)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/trace/events/compaction.h | 25 +
mm/compaction.c
ndation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit da1c67a76f7cf2b3404823d24f9f10fa91aa5dc5)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions
t.com>
Cc: <sta...@vger.kernel.org>[3.7+]
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 372549c2a3778fd3df445819811c944ad54609ca)
Signed-off-by: Andrey Ryabinin <aryabi...@v
t;a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit be9765722e6b7ece8263cbab857490332339bd6f)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 54 --
mm/internal.h
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit c122b2087ab94192f2b937e47b563a9c4e688ece)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 34 +++---
1 file changed, 19 insertions(+), 15
m>
Acked-by: David Rientjes <rient...@google.com>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit e9ade569910a82614ff5f2c2cea2b65a8d785da4)
Signed-off-by: Andrey Ryabinin <aryabi..
ommit e0b9daeb453e602a95ea43853dc12d385558ce1f)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/compaction.h | 4 ++--
mm/compaction.c| 36 +++-
mm/internal.h | 3 ++-
mm/page_alloc.c| 39
ally not
with memcg cleanups coming in 3.17.
Reported-by: Dave Jones <da...@redhat.com>
Signed-off-by: Hugh Dickins <hu...@google.com>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 8bdd638091605dc66d92c57c4b80eb87fffc15f7)
Signed-off-by: Andrey
ndation.org>
(cherry picked from commit be1aa03b973c7dcdc576f3503f7a60429825c35d)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/compaction.c b/mm/compaction.c
index c29883fe146d..c4b6b134b197 100644
--- a
off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit d53aea3d46d64e95da9952887969f7533b9ab25e)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 27 ++-
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git a/mm/compaction.c b/mm/com
1a746345c44ae00c64d8dbac6a9ce13ac54a)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/migrate.h | 11 ++
mm/compaction.c | 2 +-
mm/memcontrol.c | 2 +-
mm/memory-failure.c | 4 ++--
mm/memory_hotplug.c | 2 +-
mm/mempol
an Riel <r...@redhat.com>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 01ead5340bcf5f3a1cd2452c75516d0ef4d908d7)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm
..@suse.cz>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit aeef4b83806f49a0c454b7d4578671b71045bee2)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c |
g>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 119d6d59dcc0980dcd581fdadb6b2033b512a473)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/mm/compact
orvalds <torva...@linux-foundation.org>
(cherry picked from commit 0eb927c0ab789d3d7d69f68acb850f69d4e7c36f)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/trace/events/compaction.h | 42 +++
mm/compaction.c | 4
2 f
valds <torva...@linux-foundation.org>
(cherry picked from commit 55b7c4c99f6a448f72179297fe6432544f220063)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 4
1 file changed, 4 insertions(+)
diff --git a/mm/compaction.c b/mm/compaction.c
index 8ebf3d1
>
Cc: Rik van Riel <r...@redhat.com>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit b6c750163c0d138f5041d95fcdbd1094b6928057)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com&g
These are some compaction related -stable backports that we missing.
David Rientjes (9):
ms/mm/compaction.c: periodically schedule when freeing pages
ms/mm, compaction: avoid isolating pinned pages
ms/mm, compaction: determine isolation mode only once
ms/mm, compaction: ignore pageblock
t;a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 35979ef3393110ff3c12c6b94552208d3bdf1a36)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/mmzone.h | 5 ++--
mm/compaction.c| 66 +
: Mel Gorman <mgor...@suse.de>
Cc: Rik van Riel <r...@redhat.com>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 7d348b9ea64db0a315d777ce7d4b06697f946503)
Signed-off-by: Andrey
f-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit de6c60a6c115acaa721cfd499e028a413d1fcbf3)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/compaction.h | 16
mm/compaction.c| 9 -
mm/page_al
t;mgor...@suse.de>
Cc: Joonsoo Kim <iamjoonsoo@lge.com>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
(cherry picked from commit 50b5b094e683f8e51e82c6dfe97b1608cf97e6c0)
Signed-off-by: Andrey Ryabinin <
nux-foundation.org>
(cherry picked from commit 13fb44e4b0414d7e718433a49e6430d5b76bd46e)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/mm/compaction.c b/mm/compaction.c
index ee
ndation.org>
(cherry picked from commit f6ea3adb70b20ae36277a1b0eaaf4da9f6479a28)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/compaction.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/mm/compaction.c b/mm/compaction.c
index 63f5f4627ea7..f693bf3b87e2 100644
--- a
c: sta...@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bige...@linutronix.de>
Signed-off-by: Michal Marek <mma...@suse.com>
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile b/Mak
l Marek <mma...@suse.com>
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
scripts/gcc-x86_64-has-stack-protector.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/gcc-x86_64-has-stack-protector.sh
b/scripts/gcc-x86_64-has-stack-protector.sh
index 97
gt;
> v2: Move invalidate assignment down in tcache_invalidate_node_tree().
> v3: Synchronize sched in case of race with tcache_shrink_count() too
> to minimize repeats numbers.
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
> ---
Acked-by: Andrey Ryabinin <aryabi...@virtuoz
On 01/23/2018 11:55 AM, Kirill Tkhai wrote:
> Make the function have the only return.
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
___
Devel mailing list
D
gt;
> v2: Move invalidate assignment down in tcache_invalidate_node_tree().
> synchronize_sched() to be sure all tcache_attach_page() see invalidated.
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
___
dating such existing page during ->put_page().
https://jira.sw.ru/browse/PSBM-80712
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
Changes since v1:
- add "ret = 0", as se must return number of put pages from
tcache_cleancache_put_page()
mm/tcache.c | 12 +++
dating such existing page during ->put_page().
https://jira.sw.ru/browse/PSBM-80712
Reported-by: Kirill Tkhai <ktk...@virtuozzo.com>
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/tcache.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/mm/t
Add sysctl vm.warn_high_order. If set it will warn about
about allocations with order >= vm.warn_high_order.
Prints only 32 warning at most and skips all __GFP_NOWARN allocations.
Disabled by default.
https://jira.sw.ru/browse/PSBM-79892
Signed-off-by: Andrey Ryabinin <aryabi...@virtuoz
h+0x16/0x1b
Use kvzalloc to fallback to vmalloc() and avoid failure if
high order page is not available.
https://jira.sw.ru/browse/PSBM-79891
Fixes: 85fd6b2ff490 ("sched: Port cpustat related patches")
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
kernel/sched/core.
+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 <aryabi...@virtuozzo.com>
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 9 +
1 file chan
gned-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
> ---
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
> diff --git a/kernel/ve/vznetstat/vznetstat.c b/kernel/ve/vznetstat/vznetstat.c
> index 3a53ce27bde2..92541dbc2a3f 100644
> --- a/kernel/ve/vznetstat/vznetstat.c
> +++ b/kernel/
ned-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
> ---
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
se {
> - old = rcu_dereference(info_v4);
> + old = rcu_dereference_protected(info_v4,
> + lockdep_is_held(_mutex));
> rcu_assign_pointer(info_v4, info);
It probably would be easier to simply use xchg() here. Locking wouldn't be
needed i
browse/PSBM-78354
>
> v2: Also fix tcache_detach_page()
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
> ---
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
a more controlled fashion, rather than have it triggered at
random by the VM.
Signed-off-by: Trond Myklebust <trond.mykleb...@primarydata.com>
https://jira.sw.ru/browse/PSBM-77949
(cherry picked from commit 4f52b6bb8c57b9accafad526a429d6c0851cc62f)
Signed-off-by: Andrey Ryabinin <aryabi..
this:
pool_id = cleancache_ops->init_fs(PAGE_SIZE);
https://jira.sw.ru/browse/PSBM-77154
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/tcache.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/mm/tcache.c b/mm/tcach
On 11/30/2017 04:24 PM, Kirill Tkhai wrote:
> On 30.11.2017 15:06, Andrey Ryabinin wrote:
>> Tcache code filled with BUG_ON() checks. However the most cases
>> issues that BUG_ON() supposed to catch are not serious enough
>> to kill machine. So relax it's to WARN
this:
pool_id = cleancache_ops->init_fs(PAGE_SIZE);
https://jira.sw.ru/browse/PSBM-77154
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/tcache.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/mm/tcache.c b/mm/tcach
On 11/29/2017 05:37 PM, Vasily Averin wrote:
> got it,
> kvmalloc does not use kmalloc for size <= (16*PAGE_SIZE)
>
No, it does use kmalloc() first:
void *kvmalloc_node(size_t size, gfp_t flags, int node)
{
gfp_t kmalloc_flags = flags;
/*
* Make sure that larger
On 11/29/2017 05:31 PM, Vasily Averin wrote:
> Could you please elaborate, why it should help in reported case?
> It seems for me kvmalloc will push reclaimer first exactly like kmalloc does
> right now.
>
Currently we try to allocate possibly high-order page with GFP_KERNEL flags.
For order
://jira.sw.ru/browse/PSBM-77949
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
fs/fuse/dev.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 3427eddcfb17..83c30e51dfca 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse
Add new memcg file - memory.cache.limit_in_bytes. Used
to limit page cache usage in cgroup.
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c | 144 +---
1 file changed, 126 insertions(+), 18 deletions(-)
diff
Avoid swapping if global inactive list is big.
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/vmscan.c | 16
1 file changed, 16 insertions(+)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index 524d1452deb1..798e013757f1 100644
--- a/mm/vmscan.c
+++ b/mm/vm
force_scan was invented for very narrow case. It hurts us badly
when we have one cgroup that consumes almost all memory and few
small ones.
Set sysctl_vm_force_scan_thresh to 100 by default which effectively
disables it.
https://jira.sw.ru/browse/PSBM-77547
Signed-off-by: Andrey Ryabinin <ary
or debug objects.
Signed-off-by: Waiman Long <long...@redhat.com>
Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: Andrew Morton <a...@linux-foundation.org>
Link:
http://lkml.kernel.org/r/1502718733-8527-1-git-send-email-long...@redhat.com
https://jira.sw.ru/browse/PSBM-76
igned-off-by: David S. Miller <da...@davemloft.net>
https://jira.sw.ru/browse/PSBM-76924
(cherry picked from commit ce9d9b8e5c2b7486edf76958bcdb5e6534a915b0)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
net/sysctl_net.c | 6 +-
1 file changed, 5 insertions(+),
s://jira.sw.ru/browse/PSBM-76924
(cherry picked from commit 08b33249d89700ba555d4ab5cc88714192b8ee46)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
drivers/tty/vt/vt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 07c5666c2c30..fbc6290e417a 100644
---
-76924
(cherry picked from commit ed5bd7dc88edf4a4a9c67130742b1b59aa017a5f)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
kernel/ucount.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/ucount.c b/kernel/ucount.c
index 4aea3f02f287..533f78323f27 100644
---
. But it has no a chance
> to finish, and hangs forever. Fix that.
>
> https://jira.sw.ru/browse/PSBM-76970
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
___
Devel mailing
wse/PSBM-72584
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
___
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
o <mho...@suse.com>
Acked-by: Vladimir Davydov <vdavydov@gmail.com>
Signed-off-by: Andrew Morton <a...@linux-foundation.org>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-76752
Signed-off-by: Andrey Ryabinin <aryabi
a.sw.ru/browse/PSBM-76752
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/mm.h | 14 +
include/linux/vmalloc.h | 1 +
mm/nommu.c | 5 +++
mm/util.c| 45 +++
from ve root task group
>
Reviewed-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
> include/linux/sched.h | 2 ++
> include/linux/ve.h| 7 +++
> kernel/cgroup.c | 9 +
> kernel/sched/core.c | 56
> +++
ave()/
local_irq_restore() primitives instead.
Found while investigating https://jira.sw.ru/browse/PSBM-76011
but unrelated.
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontro
On a huge mem cgroup mem_cgroup_force_empty_list() may iterate
for a long time without rescheduling and cause softlockup.
Add cond_resched() to avoid this.
https://jira.sw.ru/browse/PSBM-76011
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memcontrol.c | 4 +++-
1 file c
On 10/27/2017 08:45 PM, Andrei Vagin wrote:
> On Fri, Oct 27, 2017 at 06:31:18PM +0300, Andrey Ryabinin wrote:
>> Delayed nfs unmount causes too much PITA. We must destroy VENET ip after
>> unmount, but in that case we can't reuse that IP on restarted container
>> because i
nefit from same fix.
Signed-off-by: Eric Dumazet <eduma...@google.com>
Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
https://jira.sw.ru/browse/PSBM-75247
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
kernel/pid.c | 4 ++--
1 file changed, 2 insertions
_cache_min_ratio to 0 and see how it goes.
https://jira.sw.ru/browse/PSBM-69672
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
fs/dcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/dcache.c b/fs/dcache.c
index 2cb018a05078..ce8e24f22f9a 100644
--- a/fs
Bad page state bugs is serious issue. It's worth issue panic if
panic_on_warn is set to collect crash dump and catch issue earlier.
https://jira.sw.ru/browse/PSBM-70168
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
mm/memory.c | 2 ++
mm/page_alloc.c | 2 ++
2 files chan
: 55834c59098d ("mm: kasan: initial memory quarantine implementation")
Link: http://lkml.kernel.org/r/575977c3.1010...@virtuozzo.com
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
Reported-by: Kuthonuzo Luruo <kuthonuzo.lu...@hpe.com>
Acked-by: Alexander Potapenko
off-by: Greg Thelen <gthe...@google.com>
Reviewed-by: Vladimir Davydov <vdavydov@gmail.com>
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
Cc: Alexander Potapenko <gli...@google.com>
Cc: Dmitry Vyukov <dvyu...@google.com>
Cc: Christoph Lameter <c...@linux.com
m>
Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Signed-off-by: Rusty Russell <ru...@rustcorp.com.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit 0a04b0166929405cd833c1cc40f99e862b965ddc)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
org>
Signed-off-by: Rusty Russell <ru...@rustcorp.com.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit 7fc26327b75685f37f58d64bdb061460f834f80d)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/seqlock.h | 8 ++--
kernel/time/timekeepin
: http://lkml.kernel.org/r/20170309094028.51088-1-dvyu...@google.com
Link: http://lkml.kernel.org/r/20170308151532.5070-1-dvyu...@google.com
Signed-off-by: Dmitry Vyukov <dvyu...@google.com>
Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
Cc: Greg Thelen <gthe...@google.com>
Sign
Signed-off-by: Rusty Russell <ru...@rustcorp.com.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit 93c2e105f6bcee231c951ba0e56e84505c4b0483)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/module.h | 32 +++---
kernel/module.c
m.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit 758556bdc1c8a8dffea0ea9f9df891878cc2468c)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
kernel/module.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/module.c b/kernel/module.c
index 952a9582f
;
Cc: Rik van Riel <r...@redhat.com>
Reviewed-by: Michel Lespinasse <wal...@google.com>
Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Signed-off-by: Rusty Russell <ru...@rustcorp.com.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit
u...@rustcorp.com.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit ade3f510f93a5613b672febe88eff8ea7f1c63b7)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
include/linux/rbtree_latch.h | 212 +++
1 file changed, 21
snoy...@efficios.com>
Acked-by: Michel Lespinasse <wal...@google.com>
Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Signed-off-by: Rusty Russell <ru...@rustcorp.com.au>
https://jira.sw.ru/browse/PSBM-69081
(cherry picked from commit 6695b92a60bc7160c92d6dc5b17
stack. But some
utility functions can have large fanout. Assuming average fanout is 5x,
total number of alloc/free stacks is ~300K.
Link:
http://lkml.kernel.org/r/1476458416-122131-1-git-send-email-dvyu...@google.com
Signed-off-by: Dmitry Vyukov <dvyu...@google.com>
Cc: Andrey Ryab
e3c2ec28dcf08f0389)
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
---
Documentation/kasan.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt
index 67e62ed6a198..82ed25f9d23c 100644
--- a/Documentation/kasan.txt
+++ b
value]
Link:
http://lkml.kernel.org/r/1470063563-96266-1-git-send-email-gli...@google.com
Fixes: 55834c59098d ("mm: kasan: initial memory quarantine implementation")
Signed-off-by: Alexander Potapenko <gli...@google.com>
Reported-by: Dmitry Vyukov <dvyu...@google.com>
depot, enable memory
quarantine for SLUB")
Link:
http://lkml.kernel.org/r/1470062715-14077-1-git-send-email-aryabi...@virtuozzo.com
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
Reported-by: Dave Jones <da...@codemonkey.org.uk>
Reported-by: Vegard Nossum <vegard.no
ure it out from the report. The dump of
shadow memory allows to identify the end of allocated memory, and
thereby the exact allocation size.
Link:
http://lkml.kernel.org/r/1470062715-14077-4-git-send-email-aryabi...@virtuozzo.com
Signed-off-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
Cc:
501 - 600 of 1007 matches
Mail list logo