Re: [PATCH 5/5] Swapless V2: Revise main migration logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 18 Apr 2006, KAMEZAWA Hiroyuki wrote:

> BTW, when copying mm, mm->mmap_sem is held. Is mm->mmap_sem is not held while 
> page migraion now ? I'm sorry I can't catch up all changes.
> or Is this needed for lazy migration (migration-on-fault) ?

mmap_sem must be held during page migration due to the way we retrieve the 
anonymous vma.

I think you would want to get rid of that requirement for the hotplug 
remove. But how do we reliably get to the anon_vma of the page without 
mmap_sem?

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux