public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: "Américo Wang" <xiyou.wangcong@gmail.com>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Hugh Dickins" <hughd@google.com>
Cc: "Robert Święcki" <robert@swiecki.net>, linux-kernel@vger.kernel.org
Subject: [PATCH 0/1] Was: Processes hang in an unkillable state
Date: Tue, 12 Apr 2011 21:07:31 +0200	[thread overview]
Message-ID: <20110412190731.GA13752@redhat.com> (raw)
In-Reply-To: <20110412182809.GA1218@redhat.com>

(add cc's)

On 04/12, Oleg Nesterov wrote:
>
> On 04/12, Américo Wang wrote:
> >
> > Hmm, it must be stuck at
> >
> > lib/rwsem.c
> >
> >         /* wait to be given the lock */
> >         for (;;) {
> >                 if (!waiter.task)
> >                         break;
> >                 schedule();
> >                 set_task_state(tsk, TASK_UNINTERRUPTIBLE);
> >         }
> >
> > don't know why it still can't acquire the ->mmap_sem...
> >
> > Cc'ing Oleg...
>
> I seem to understand...
>
> Please wait a bit, I need to recheck.

Yes, mlock looks buggy. I'll report more info a bit later, but
I think we need something like this patch.

Oleg.


  parent reply	other threads:[~2011-04-12 19:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 10:32 Processes hang in an unkillable state Robert Święcki
2011-04-12 12:44 ` Américo Wang
2011-04-12 13:03   ` Robert Święcki
2011-04-12 13:08     ` Robert Święcki
2011-04-12 18:28   ` Oleg Nesterov
2011-04-12 18:34     ` Robert Święcki
2011-04-12 19:20       ` Oleg Nesterov
     [not found]         ` <BANLkTimJgx_x=0bpBDWaUkJgZPYs3_iwsg@mail.gmail.com>
     [not found]           ` <BANLkTimBegMUq2fX67o2YnoATWG-NDbKgA@mail.gmail.com>
2011-04-12 20:22             ` Linus Torvalds
     [not found]               ` <BANLkTi=HyK+8DhJS3db0j2fefdOjwVMN3w@mail.gmail.com>
2011-04-12 21:46                 ` Linus Torvalds
2011-04-12 21:59                   ` Robert Święcki
2011-04-12 22:12                     ` Linus Torvalds
2011-04-12 22:16                       ` Robert Święcki
2011-04-12 22:18                         ` Linus Torvalds
2011-04-12 22:30                           ` Robert Święcki
2011-04-12 22:43                             ` Linus Torvalds
2011-04-13 12:19                               ` Robert Święcki
2011-04-12 19:07     ` Oleg Nesterov [this message]
2011-04-12 19:08       ` [PATCH 1/1] __mlock_vma_pages_range: stack_guard_page() case returns the wrong value Oleg Nesterov
2011-04-12 19:18         ` Robert Święcki

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=20110412190731.GA13752@redhat.com \
    --to=oleg@redhat.com \
    --cc=hughd@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert@swiecki.net \
    --cc=torvalds@linux-foundation.org \
    --cc=xiyou.wangcong@gmail.com \
    /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