All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Weinberger <richard@nod.at>
To: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"paul.gortmaker@windriver.com" <paul.gortmaker@windriver.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: swapoff() runs forever
Date: Thu, 12 Apr 2012 01:09:11 +0200	[thread overview]
Message-ID: <4F860F17.2090400@nod.at> (raw)
In-Reply-To: <alpine.LSU.2.00.1204091123380.1430@eggly.anvils>

Am 09.04.2012 20:40, schrieb Hugh Dickins:
> I've not seen any such issue in recent months (or years), but
> I've not been using UML either.  The most likely cause that springs
> to mind would be corruption of the vmalloc'ed swap map: that would
> be very likely to cause such a hang.

It does not look like a swap map corruption.
If I restart most user space processes swapoff() terminates fine.
Maybe it is a refcounting problem?

> You say "recent Linux kernels": I wonder what "recent" means.
> Is this something you can reproduce quickly and reliably enough
> to do a bisection upon?
>

I can reproduce the issue on any UML kernel.
The oldest I've tested was 2.6.20.
Therefore, bug was not introduced by me. B-)

Thanks,
//richard

--
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 internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Richard Weinberger <richard@nod.at>
To: Hugh Dickins <hughd@google.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	"paul.gortmaker@windriver.com" <paul.gortmaker@windriver.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: swapoff() runs forever
Date: Thu, 12 Apr 2012 01:09:11 +0200	[thread overview]
Message-ID: <4F860F17.2090400@nod.at> (raw)
In-Reply-To: <alpine.LSU.2.00.1204091123380.1430@eggly.anvils>

Am 09.04.2012 20:40, schrieb Hugh Dickins:
> I've not seen any such issue in recent months (or years), but
> I've not been using UML either.  The most likely cause that springs
> to mind would be corruption of the vmalloc'ed swap map: that would
> be very likely to cause such a hang.

It does not look like a swap map corruption.
If I restart most user space processes swapoff() terminates fine.
Maybe it is a refcounting problem?

> You say "recent Linux kernels": I wonder what "recent" means.
> Is this something you can reproduce quickly and reliably enough
> to do a bisection upon?
>

I can reproduce the issue on any UML kernel.
The oldest I've tested was 2.6.20.
Therefore, bug was not introduced by me. B-)

Thanks,
//richard

  parent reply	other threads:[~2012-04-11 23:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 20:30 swapoff() runs forever Richard Weinberger
2012-04-09  5:35 ` Konstantin Khlebnikov
2012-04-09  5:35   ` Konstantin Khlebnikov
2012-04-09 10:16   ` Richard Weinberger
2012-04-09 18:40     ` Hugh Dickins
2012-04-09 18:40       ` Hugh Dickins
2012-04-09 19:43       ` Richard Weinberger
2012-04-09 19:43         ` Richard Weinberger
2012-04-11 23:09       ` Richard Weinberger [this message]
2012-04-11 23:09         ` Richard Weinberger
2012-04-12  6:40         ` Hugh Dickins
2012-04-12  6:40           ` Hugh Dickins

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=4F860F17.2090400@nod.at \
    --to=richard@nod.at \
    --cc=akpm@linux-foundation.org \
    --cc=hughd@google.com \
    --cc=khlebnikov@openvz.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=paul.gortmaker@windriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.