From: Sasha Levin <sasha.levin@oracle.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, mhocko@suse.cz,
Mel Gorman <mgorman@suse.de>, Vlastimil Babka <vbabka@suse.cz>,
Johannes Weiner <hannes@cmpxchg.org>,
David Rientjes <rientjes@google.com>,
Joonsoo Kim <iamjoonsoo.kim@lge.com>,
open@kvack.org, list@kvack.org,
MEMORY MANAGEMENT <linux-mm@kvack.org>
Subject: Re: [PATCH 1/2] mm: free large amount of 0-order pages in workqueue
Date: Sat, 25 Apr 2015 17:51:33 -0400 [thread overview]
Message-ID: <553C0C65.6010401@oracle.com> (raw)
In-Reply-To: <20150331155455.dd725010cec78112cd549c5b@linux-foundation.org>
On 03/31/2015 06:54 PM, Andrew Morton wrote:
>> [ 2896.340953] trinity-c6 R running task 27040 6561 9144 0x10000006
>> > [ 2896.342673] ffff8802e72576a8 ffff8802e7257758 ffffffffabfdd628 003c5e36ef1674fa
>> > [ 2896.344267] ffff8801533e1588 ffff8801533e1560 ffff8802d3963778 ffff8802ad220000
>> > [ 2896.345824] ffff8802d3963000 0000000000000000 ffff8802e7250000 ffffed005ce4a002
>> > [ 2896.347286] Call Trace:
>> > [ 2896.347784] ? trace_hardirqs_on_thunk (arch/x86/lib/thunk_64.S:42)
>> > [ 2896.348977] preempt_schedule_common (./arch/x86/include/asm/preempt.h:77 (discriminator 1) kernel/sched/core.c:2867 (discriminator 1))
>> > [ 2896.350279] preempt_schedule (kernel/sched/core.c:2893)
>> > [ 2896.351349] ___preempt_schedule (arch/x86/lib/thunk_64.S:51)
>> > [ 2896.353782] __debug_check_no_obj_freed (lib/debugobjects.c:713)
>> > [ 2896.360001] debug_check_no_obj_freed (lib/debugobjects.c:727)
>> > [ 2896.361574] free_pages_prepare (mm/page_alloc.c:823)
>> > [ 2896.362657] free_hot_cold_page (mm/page_alloc.c:1550)
>> > [ 2896.363735] free_hot_cold_page_list (mm/page_alloc.c:1596 (discriminator 3))
>> > [ 2896.364846] release_pages (mm/swap.c:935)
>> > [ 2896.367979] __pagevec_release (include/linux/pagevec.h:44 mm/swap.c:1013)
>> > [ 2896.369149] shmem_undo_range (include/linux/pagevec.h:69 mm/shmem.c:446)
>> > [ 2896.377070] shmem_truncate_range (mm/shmem.c:541)
>> > [ 2896.378450] shmem_setattr (mm/shmem.c:577)
>> > [ 2896.379556] notify_change (fs/attr.c:270)
>> > [ 2896.382804] do_truncate (fs/open.c:62)
>> > [ 2896.387739] do_sys_ftruncate.constprop.4 (fs/open.c:191)
>> > [ 2896.389450] SyS_ftruncate (fs/open.c:199)
>> > [ 2896.390879] tracesys_phase2 (arch/x86/kernel/entry_64.S:340)
> OK, so shmem_undo_range() is full of cond_resched()s but it's holding
> i_mutex for too long. Hugh, fix your junk!
Ping on this one? It's causing lockups on all kernels...
Thanks,
Sasha
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2015-04-25 21:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-31 22:11 [PATCH 1/2] mm: free large amount of 0-order pages in workqueue Sasha Levin
2015-03-31 22:11 ` [PATCH 2/2] mm: __free_pages batch up 0-order pages for freeing Sasha Levin
2015-04-01 12:48 ` Rasmus Villemoes
2015-03-31 22:31 ` [PATCH 1/2] mm: free large amount of 0-order pages in workqueue Andrew Morton
2015-03-31 22:39 ` Sasha Levin
2015-03-31 22:54 ` Andrew Morton
2015-04-01 13:20 ` Sasha Levin
2015-04-25 21:51 ` Sasha Levin [this message]
2015-04-01 12:57 ` Vlastimil Babka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=553C0C65.6010401@oracle.com \
--to=sasha.levin@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=list@kvack.org \
--cc=mgorman@suse.de \
--cc=mhocko@suse.cz \
--cc=open@kvack.org \
--cc=rientjes@google.com \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).