linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 37072] New: Random BUG at include/linux/swapops.h:105
       [not found] <bug-37072-10286@https.bugzilla.kernel.org/>
@ 2011-06-20 20:53 ` Andrew Morton
  2011-06-20 21:10   ` Christoph Lameter
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2011-06-20 20:53 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: bugme-daemon, linux-mm, luke-jr+linuxbugs


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Fri, 10 Jun 2011 01:09:48 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> https://bugzilla.kernel.org/show_bug.cgi?id=37072
> 
>            Summary: Random BUG at include/linux/swapops.h:105
>            Product: Memory Management
>            Version: 2.5
>     Kernel Version: 2.6.39
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: high
>           Priority: P1
>          Component: Other
>         AssignedTo: akpm@linux-foundation.org
>         ReportedBy: luke-jr+linuxbugs@utopios.org
>         Regression: Yes
> 
> 
> Didn't have a sensible console working apparently... photo of monitor:
> http://www.facebook.com/photo.php?pid=2522123&l=ec1a1e6145&id=1496065002
> 

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?

--
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bugme-new] [Bug 37072] New: Random BUG at include/linux/swapops.h:105
  2011-06-20 20:53 ` [Bugme-new] [Bug 37072] New: Random BUG at include/linux/swapops.h:105 Andrew Morton
@ 2011-06-20 21:10   ` Christoph Lameter
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Lameter @ 2011-06-20 21:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: bugme-daemon, linux-mm, luke-jr+linuxbugs

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-20 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37072-10286@https.bugzilla.kernel.org/>
2011-06-20 20:53 ` [Bugme-new] [Bug 37072] New: Random BUG at include/linux/swapops.h:105 Andrew Morton
2011-06-20 21:10   ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox