Re: Need to take mmap_sem lock in move_pages.

From: Christoph Lameter
Date: Wed Feb 04 2009 - 10:40:54 EST


On Wed, 4 Feb 2009, KAMEZAWA Hiroyuki wrote:

> > 1. do_move_page_to_node_array() at el. needs mmap_sem (read-side) because it
> > scans page table and vma. While we have to scan vmas to find pages for
> > migration, it needs mmap_sem.

Right.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/