Skip to contentSkip to conversation

New: Random BUG at include/linux/swapops.h:105

Bugme-new Andrew Morton 2 participants 2 messages Jun 20, 2011 1 message not in the archive Memory management

lore
Share & tools
lore

Andrew Morton

author maintainer
#1 lore raw
In reply to a message not in the archive

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

Quoted 18 lines · On Fri, 10 Jun 2011 01:09:48 GMT [email protected] 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: [email protected]
ReportedBy: [email protected]
Regression: Yes

Quoted 3 lines

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 [email protected]. 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:"[email protected]"> [email protected] </a>

#2 lore raw
Quoted 8 lines · Andrew Morton

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 [email protected]. 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:"[email protected]"> [email protected] </a>