On Tue, 23 Feb 2010 16:58:07 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote: > On Sun, 21 Feb 2010 15:10:45 +0100 > > + spin_lock(ptl); > > + isolated = __collapse_huge_page_isolate(vma, address, pte); > > + spin_unlock(ptl); > > Is it safe to take zone->lock under pte_lock and anon_vma->lock ? > > I think usual way is > page = follow_page(FOLL_GET) > isolate_page(page) > I'm sorry it was written in rmap.c as * mapping->i_mmap_lock * anon_vma->lock * mm->page_table_lock or pte_lock * zone->lru_lock (in mark_page_accessed, isolate_lru_page) Regards, -Kame -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>