Re: [PATCH 04/14] mm,migration: Allow the migration of PageSwapCache pages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mel Gorman
Date: Wednesday, April 21, 2010 - 8:00 am

On Wed, Apr 21, 2010 at 09:30:20AM -0500, Christoph Lameter wrote:

Yes, because it's not known if the anon_vma for the unmapped swapcache page
still exists or not.  Now, a bug has been reported where a migration PTE is
found where the page is not locked. I'm trying to determine if it's the same
page or not but the problem takes ages to reproduce.


No, remap_swapcache could just be called "remap". If it's 0, it's
considered unsafe to remap the page.


If remap_swapcache is 1, the anon_vma is valid (or irrelevant because
it's a file) and it's safe to remap the page by removing the migration
PTEs.

-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/14] Memory Compaction v8, Mel Gorman, (Tue Apr 20, 2:01 pm)
[PATCH 09/14] mm,compaction: Memory compaction core, Mel Gorman, (Tue Apr 20, 2:01 pm)
Re: [PATCH 01/14] mm,migration: Take a reference to the an ..., KAMEZAWA Hiroyuki, (Tue Apr 20, 7:49 pm)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Christoph Lameter, (Wed Apr 21, 7:30 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Mel Gorman, (Wed Apr 21, 8:00 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Christoph Lameter, (Wed Apr 21, 8:05 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Christoph Lameter, (Wed Apr 21, 8:31 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Christoph Lameter, (Wed Apr 21, 8:46 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., KAMEZAWA Hiroyuki, (Wed Apr 21, 4:59 pm)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., KAMEZAWA Hiroyuki, (Thu Apr 22, 2:46 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., KAMEZAWA Hiroyuki, (Thu Apr 22, 3:31 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., KAMEZAWA Hiroyuki, (Thu Apr 22, 3:51 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Christoph Lameter, (Thu Apr 22, 8:14 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Christoph Lameter, (Thu Apr 22, 12:40 pm)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., KAMEZAWA Hiroyuki, (Thu Apr 22, 4:52 pm)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Andrea Arcangeli, (Fri Apr 23, 11:31 am)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., Andrea Arcangeli, (Fri Apr 23, 12:39 pm)
Re: [PATCH 04/14] mm,migration: Allow the migration of Pag ..., KAMEZAWA Hiroyuki, (Tue Apr 27, 3:41 am)