From: Christoph Lameter <cl@linux.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: bugme-daemon@bugzilla.kernel.org, linux-mm@kvack.org,
luke-jr+linuxbugs@utopios.org
Subject: Re: [Bugme-new] [Bug 37072] New: Random BUG at include/linux/swapops.h:105
Date: Mon, 20 Jun 2011 16:10:28 -0500 (CDT) [thread overview]
Message-ID: <alpine.DEB.2.00.1106201604360.17524@router.home> (raw)
In-Reply-To: <20110620135353.cfe979ae.akpm@linux-foundation.org>
On Mon, 20 Jun 2011, Andrew Morton wrote:
> handle_mm_fault
> ->handle_pte_fault
> ->do_swap_page
> ->migration_entry_wait
> ->migration_entry_to_page
> ->BUG_ON(!PageLocked(p))
>
> How is this supposed to ever work?
A page is always locked during migration. Thus a migration entry can
only exist while a page is locked. The migration entries purpose is
to hold off establishing new references to a page that is locked.
See unmap_and_move().
Looks like some of the recent patches may cause an unlock the page without
removal of the migration entry?
--
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>
prev parent reply other threads:[~2011-06-20 21:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-37072-10286@https.bugzilla.kernel.org/>
2011-06-20 20:53 ` Andrew Morton
2011-06-20 21:10 ` Christoph Lameter [this message]
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=alpine.DEB.2.00.1106201604360.17524@router.home \
--to=cl@linux.com \
--cc=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=linux-mm@kvack.org \
--cc=luke-jr+linuxbugs@utopios.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