[Devel] [PATCH rh7 v2 1/3] ve/kstat/alloc_lat: Don't separate GFP_HIGHMEM and !GFP_HIGHMEM allocation latencies

2018-02-15 Thread Andrey Ryabinin
-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

[Devel] [PATCH rh7 2/3] ve/vzstat.h: move some kstat definitions into new header.

2018-02-14 Thread 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 <aryabi...@virtuozzo.com> --- include/linux/kstat.h | 45 + include/linux/vzstat.

[Devel] [PATCH rh7 1/3] ve/kstat/alloc_lat: Don't separate GFP_HIGHMEM and !GFP_HIGHMEM allocation latencies

2018-02-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 3/3] ve/page_alloc, kstat: account allocation latencies per-task

2018-02-14 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] ms/net: don't wait for order-3 page allocation

2018-02-13 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] mm/memcontrol: Fix memcg swpin/swpout stats accounting.

2018-02-12 Thread Andrey Ryabinin
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.

[Devel] [PATCH rh7 1/5] ms/mm: memcontrol: simplify detecting when the memory+swap limit is hit

2018-01-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/5] ms/mm: memcontrol: fix transparent huge page allocations under pressure

2018-01-30 Thread Andrey Ryabinin
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 +--

[Devel] [PATCH rh7 4/5] try harder to decrease cache.limit_in_bytes

2018-01-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 3/5] ms/memcg: refactor mem_cgroup_resize_limit()

2018-01-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 5/5] ms/mm/memcontrol.c: try harder to decrease [memory, memsw].limit_in_bytes

2018-01-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] ms/mm: memcontrol: factor out reclaim iterator loading and updating

2018-01-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 3/7] ms/mm, vmscan: enhance mm_vmscan_lru_shrink_inactive tracepoint

2018-01-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 4/7] ms/mm: throttle on IO only when there are too many dirty and writeback pages

2018-01-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/7] ms/mm, vmscan: extract shrink_page_list reclaim counters into a struct

2018-01-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 1/7] ms/mm, vmscan: add active list aging tracepoint

2018-01-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 6/7] mm/vmscan: Use per-zone sum of reclaim_stat to change zone state.

2018-01-29 Thread Andrey Ryabinin
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.

[Devel] [PATCH rh7 5/7] mm/vmscan: collect reclaim stats across zone

2018-01-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 7/7] mm/vmscan: call wait_iff_congested() only if we have troubles in recaliming

2018-01-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 13/25] ms/mm, compaction: ignore pageblock skip when manually invoking compaction

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 15/25] ms/mm/compaction: cleanup isolate_freepages()

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 21/25] ms/mm/compaction: do not count migratepages when unnecessary

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 12/25] ms/mm, compaction: determine isolation mode only once

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 24/25] ms/mm/compaction: fix wrong order check in compact_finished()

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 23/25] ms/mm, compaction: properly signal and act upon lock and need_sched() contention

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 10/25] ms/mm/compaction: check pageblock suitability once per pageblock

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 22/25] ms/mm/compaction: avoid rescanning pageblocks in isolate_freepages

2018-01-24 Thread Andrey Ryabinin
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..

[Devel] [PATCH rh7 19/25] ms/mm, compaction: embed migration mode in compact_control

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 25/25] ms/mm: fix direct reclaim writeback regression

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 09/25] ms/mm/compaction: change the timing to check to drop the spinlock

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 17/25] ms/mm, compaction: return failed migration target pages back to freelist

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 16/25] ms/mm, migration: add destination page freeing callback

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 08/25] ms/mm/compaction: do not call suitable_migration_target() on every page

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 20/25] ms/mm, compaction: terminate async compaction when rescheduling

2018-01-24 Thread Andrey Ryabinin
..@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 |

[Devel] [PATCH rh7 06/25] ms/mm, compaction: avoid isolating pinned pages

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 02/25] ms/mm: compaction: trace compaction begin and end

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 05/25] ms/mm: compaction: reset scanner positions immediately when they meet

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 11/25] ms/mm/compaction: clean-up code on success of ballon isolation

2018-01-24 Thread Andrey Ryabinin
> 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

[Devel] [PATCH rh7 00/25] compaction related stable backports.

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 18/25] ms/mm, compaction: add per-zone migration pfn cache for async compaction

2018-01-24 Thread Andrey Ryabinin
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 +

[Devel] [PATCH rh7 07/25] ms/mm/compaction: disallow high-order page for migration target

2018-01-24 Thread Andrey Ryabinin
: 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

[Devel] [PATCH rh7 03/25] ms/mm: compaction: encapsulate defer reset logic

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 04/25] ms/mm: compaction: do not mark unmovable pageblocks as skipped in async compaction

2018-01-24 Thread Andrey Ryabinin
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 <

[Devel] [PATCH rh7 14/25] ms/mm/compaction: clean up unused code lines

2018-01-24 Thread 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

[Devel] [PATCH rh7 01/25] ms/mm/compaction.c: periodically schedule when freeing pages

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/2] ms/kbuild: add -fno-PIE

2018-01-24 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 1/2] ms/scripts/has-stack-protector: add -fno-PIE

2018-01-24 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH v3 2/2] tcache: Fix race between tcache_invalidate_node() and tcache_attach_page()

2018-01-23 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH v3 1/2] tcache: Refactor tcache_shrink_scan()

2018-01-23 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH v2] tcache: Close race between tcache_invalidate_node() and tcache_attach_page()

2018-01-18 Thread Andrey Ryabinin
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> ___

[Devel] [PATCH rh7 v2] mm/tcache: invalidate existing page during cleancache_put_page().

2018-01-18 Thread Andrey Ryabinin
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 +++

[Devel] [PATCH rh7] mm/tcache: invalidate existing page during cleancache_put_page().

2018-01-18 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] mm/page_alloc add warning about high order allocations.

2018-01-15 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] sched: Fallback to 0-order allocations in sched_create_group()

2017-12-29 Thread Andrey Ryabinin
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.

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

2017-12-29 Thread Andrey Ryabinin
+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

Re: [Devel] [PATCH 1/2] vznetstat: Add protection to venet_acct_set_classes()

2017-12-20 Thread Andrey Ryabinin
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/

Re: [Devel] [PATCH 2/2] vznetstat: Convert some kmalloc()/kfree() to __vmalloc()/vfree()

2017-12-20 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH 1/2] vznetstat: Add protection to venet_acct_set_classes()

2017-12-20 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH v2] tcache: Repeat invalidation in tcache_invalidate_node_pages()

2017-12-01 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] NFS: Don't call COMMIT in ->releasepage()

2017-12-01 Thread Andrey Ryabinin
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..

[Devel] [PATCH rh7 v2] mm/tcache: replace BUG_ON()s with WARN_ON()s

2017-11-30 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH rh7] mm/tcache: replace BUG_ON()s with WARN_ON()s

2017-11-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] mm/tcache: replace BUG_ON()s with WARN_ON()s

2017-11-30 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH rh7] fs/fuse/dev: improve ->splice() with fragmented memory

2017-11-29 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH rh7] fs/fuse/dev: improve ->splice() with fragmented memory

2017-11-29 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] fs/fuse/dev: improve ->splice() with fragmented memory

2017-11-29 Thread Andrey Ryabinin
://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

[Devel] [PATCH rh7] mm/memcg: limit page cache in memcg hack.

2017-11-27 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/2] mm/vmscan/HACK: scan only anon if global file inactive isn't low.

2017-11-23 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 1/2] mm/vmscan: make sysctl_vm_force_scan_thresh 100 by default

2017-11-23 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 1/4] debugobjects: Make kmemleak ignore debug objects

2017-11-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/4] net: sysctl: fix a kmemleak warning

2017-11-14 Thread Andrey Ryabinin
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(+),

[Devel] [PATCH rh7 4/4] tty/vt: Fix the memory leak in visual_init

2017-11-14 Thread Andrey Ryabinin
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 ---

[Devel] [PATCH rh7 3/4] kernel/ucount.c: mark user_header with kmemleak_ignore()

2017-11-14 Thread Andrey Ryabinin
-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 ---

Re: [Devel] [PATCH] mm: Fix mis accounting of isolated pages in memcg_numa_isolate_pages()

2017-11-13 Thread Andrey Ryabinin
. 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

Re: [Devel] [PATCH] tswap, tcache: Increase shrinkers seeks

2017-11-08 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/2] ms/mm: memcontrol: use vmalloc fallback for large kmem memcg arrays

2017-11-03 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 1/2] ms/mm: introduce kv[mz]alloc helpers

2017-11-03 Thread Andrey Ryabinin
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 +++

Re: [Devel] [PATCH RH7 0/3] ve: properly handle nr_cpus and cpu_rate for nested cgroups

2017-11-02 Thread Andrey Ryabinin
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 > +++

[Devel] [PATCH rh7 1/2] mm/memcg: Don't enable interrupts too soon.

2017-10-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 2/2] mm/memcg: Fix potential softlockup during memcgroup shutdown.

2017-10-30 Thread Andrey Ryabinin
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

Re: [Devel] [PATCH rh7] fs/nfs: don't use delayed unmount for nfs.

2017-10-30 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] ms/pidns: fix NULL dereference in __task_pid_nr_ns()

2017-10-18 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] mm,fs: make vfs_cache_min_ratio=0 by default

2017-10-09 Thread Andrey Ryabinin
_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

[Devel] [PATCH rh7] mm: issue panic() on bad page/pte bugs if panic_on_warn is set.

2017-10-05 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7] ms/mm: mempool: kasan: don't poot mempool objects in quarantine

2017-09-28 Thread Andrey Ryabinin
: 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

[Devel] [PATCH rh7 31/39] kasan: drain quarantine of memcg slab objects

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 35/39] rcu: Move lockless_dereference() out of rcupdate.h

2017-09-14 Thread Andrey Ryabinin
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>

[Devel] [PATCH rh7 36/39] seqlock: Introduce raw_read_seqcount_latch()

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 32/39] kasan: fix races in quarantine_remove_cache()

2017-09-14 Thread Andrey Ryabinin
: 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

[Devel] [PATCH rh7 38/39] module: Optimize __module_address() using a latched RB-tree

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 39/39] module: Fix load_module() error path

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 33/39] rbtree: Make lockless searches non-fatal

2017-09-14 Thread Andrey Ryabinin
; 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

[Devel] [PATCH rh7 37/39] rbtree: Implement generic latch_tree

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 34/39] seqlock: Better document raw_write_seqcount_latch()

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 28/39] lib/stackdepot.c: bump stackdepot capacity from 16MB to 128MB

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 02/39] Documentation: kasan: fix a typo

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 23/39] kasan: avoid overflowing quarantine size on low memory systems

2017-09-14 Thread Andrey Ryabinin
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>

[Devel] [PATCH rh7 18/39] mm/kasan: fix corruptions and false positive reports

2017-09-14 Thread Andrey Ryabinin
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

[Devel] [PATCH rh7 20/39] mm/kasan: get rid of ->alloc_size in struct kasan_alloc_meta

2017-09-14 Thread Andrey Ryabinin
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:

<    1   2   3   4   5   6   7   8   9   10   >