Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg_pages() and rmap_walk() during migration by not migrating temporary stacks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

On Tue, May 04, 2010 at 03:33:11PM +0100, Mel Gorman wrote:

I'll take your changelog for aa.git thanks! And the non trivial stuff
was documented in the code too.

So now in aa.git I've two branches, master -> old-anon_vma,
anon_vma_chain -> new-anon_vma.

anon_vma_chain starts with Rik's patch 1/2 and then this
patch. old-anon_vma starts with backout-anon-vma and then this patch 2
backported to old anon-vma code. After the removal of all
vma->anon_vma->lock usages from THP code, and switching to a slower
get_page() spin_unlock(page_table_lock) page_lock_anon_vma(page)
model, the anon_vma_chain branch has a chance to be as solid as the
master branch. anon_vma_chain branch can be pulled from mainline
branches too. The master branch is also not using anymore any
vma->anon_vma->lock even if it still could and it'd be a bit faster,
to give more testing to the anon_vma_chain code.

You can see the difference with "git diff master anon_vma_chain".

http://git.kernel.org/?p=linux/kernel/git/andrea/aa.git;a=summary
http://git.kernel.org/?p=linux/kernel/git/andrea/aa.git;a=shortlog;h=refs/heads/anon_v...

This should be THP-23 and THP-23-anon_vma_chain tags, I'll do proper
release soon.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., Andrea Arcangeli, (Fri Apr 30, 12:22 pm)
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., Andrea Arcangeli, (Tue May 4, 7:44 am)
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., Christoph Lameter, (Mon May 10, 10:41 am)
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., Andrea Arcangeli, (Mon May 10, 12:05 pm)
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., KAMEZAWA Hiroyuki, (Mon May 10, 5:10 pm)
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., Christoph Lameter, (Tue May 11, 6:59 am)
Re: [PATCH 2/2] mm,migration: Avoid race between shift_arg ..., Christoph Lameter, (Tue May 11, 8:56 am)