linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: CAI Qian <caiqian@redhat.com>
To: Andrea Arcangeli <aarcange@redhat.com>
Cc: linux-mm@kvack.org
Subject: Re: mmotm 2011-01-25-15-47 uploaded
Date: Fri, 28 Jan 2011 01:44:01 -0500 (EST)	[thread overview]
Message-ID: <77942321.201910.1296197041743.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> (raw)
In-Reply-To: <20110126135252.GQ926@random.random>


----- Original Message -----
> Hi Qian,
> 
> On Wed, Jan 26, 2011 at 03:45:55AM -0500, CAI Qian wrote:
> > Andrea,
> >
> > khugepaged hung during swapping there.
> >
> > INFO: task khugepaged:276 blocked for more than 120 seconds.
> > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
> > message.
> > khugepaged D ffff880fa0fd4610 0 276 2 0x00000000
> >  ffff880fa07cfcc0 0000000000000046 ffff88201ffdac00 0000000000000000
> >  0000000000014d40 ffff880fa0fd4080 ffff880fa0fd4610 ffff880fa07cffd8
> >  ffff880fa0fd4618 0000000000014d40 ffff880fa07ce010 0000000000014d40
> > Call Trace:
> >  [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140
> >  [<ffffffff814aff53>] rwsem_down_write_failed+0x13/0x20
> >  [<ffffffff812301a3>] call_rwsem_down_write_failed+0x13/0x20
> >  [<ffffffff814af4d2>] ? down_write+0x32/0x40
> >  [<ffffffff81146b4d>] khugepaged+0x8ad/0x1300
> >  [<ffffffff8100a6f0>] ? __switch_to+0xd0/0x320
> >  [<ffffffff811462a0>] ? khugepaged+0x0/0x1300
> >  [<ffffffff810830f0>] ? autoremove_wake_function+0x0/0x40
> >  [<ffffffff811462a0>] ? khugepaged+0x0/0x1300
> >  [<ffffffff81082a56>] kthread+0x96/0xa0
> >  [<ffffffff8100cdc4>] kernel_thread_helper+0x4/0x10
> >  [<ffffffff810829c0>] ? kthread+0x0/0xa0
> >  [<ffffffff8100cdc0>] ? kernel_thread_helper+0x0/0x10
> > INFO: task pgrep:6039 blocked for more than 120 seconds.
> > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this
> > message.
> > pgrep D ffff887f606f1ab0 0 6039 6038 0x00000080
> >  ffff8821e39c1ce0 0000000000000082 0000000000000246 0000000000000000
> >  0000000000014d40 ffff887f606f1520 ffff887f606f1ab0 ffff8821e39c1fd8
> >  ffff887f606f1ab8 0000000000014d40 ffff8821e39c0010 0000000000014d40
> > Call Trace:
> >  [<ffffffff814afeb5>] rwsem_down_failed_common+0xb5/0x140
> >  [<ffffffff814aff75>] rwsem_down_read_failed+0x15/0x17
> >  [<ffffffff81230174>] call_rwsem_down_read_failed+0x14/0x30
> >  [<ffffffff814af504>] ? down_read+0x24/0x30
> >  [<ffffffff8111f4dc>] access_process_vm+0x4c/0x200
> >  [<ffffffff8113f3fe>] ? fallback_alloc+0x14e/0x270
> >  [<ffffffff811afa4d>] proc_pid_cmdline+0x6d/0x120
> >  [<ffffffff81137eba>] ? alloc_pages_current+0x9a/0x100
> >  [<ffffffff811b037d>] proc_info_read+0xad/0xf0
> >  [<ffffffff81154315>] vfs_read+0xc5/0x190
> >  [<ffffffff811544e1>] sys_read+0x51/0x90
> >  [<ffffffff8100bf82>] system_call_fastpath+0x16/0x1b
> 
> pgrep hung too, it's not just khugepaged hanging and it's not obvious
> for now that khugepaged was guilty of forgetting an unlock, could be
> the process deadlocked somewhere with the mmap_sem hold. Can you press
> SYSRQ+T? Hopefully that will show the holder. Also is CONFIG_NUMA=y/n?
Unfortunately, SYSRQ+T was not working. CONFIG_NUMA=y and this is an
NUMA system as well.

CAI Qian

--
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/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-01-28  6:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-25 23:48 mmotm 2011-01-25-15-47 uploaded akpm
2011-01-26  8:45 ` CAI Qian
2011-01-26 13:52   ` Andrea Arcangeli
2011-01-28  6:44     ` CAI Qian [this message]
2011-01-28 16:50       ` pgd_lock must be taken with irqs enabled Andrea Arcangeli
2011-01-26 10:20 ` [patch] epoll-fix-compiler-warning-and-optimize-the-non-blocking-path-fix Johannes Weiner
2011-01-26 15:05   ` Davide Libenzi

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=77942321.201910.1296197041743.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com \
    --to=caiqian@redhat.com \
    --cc=aarcange@redhat.com \
    --cc=linux-mm@kvack.org \
    /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).