Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-22 Thread Mel Gorman
On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: > Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 > Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 > Author: Peter Zijlstra > AuthorDate: Fri, 12 Oct 2012 19:30:14 +0200 >

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-22 Thread Mel Gorman
On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra a.p.zijls...@chello.nl AuthorDate: Fri, 12 Oct 2012

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-21 Thread Ingo Molnar
* Johannes Weiner wrote: > On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: > > Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 > > Gitweb: > > http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 > > Author: Peter Zijlstra > > AuthorDate:

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-21 Thread Ingo Molnar
* Johannes Weiner han...@cmpxchg.org wrote: On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: > It's slightly ugly that migrate_page_copy() actually modifies the > existing page (deactivation, munlock) when you end up having to revert > back to it. The worst is actually calling copy_huge_page() on a THP.. it seems to work though

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: > Right now, unlike the traditional migration path, this breaks COW for > every migration, but maybe you don't care about shared pages in the > first place. And fixing that should be nothing more than grabbing the > anon_vma lock and using

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: > Of course I'm banging my head into a wall for not seeing earlier > through the existing migration path how easy this could be. There's a reason I keep promoting the idea of 'someone' rewriting all that page-migration code :-) I forever

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Johannes Weiner
On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: > Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 > Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 > Author: Peter Zijlstra > AuthorDate: Fri, 12 Oct 2012 19:30:14 +0200 >

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Johannes Weiner
On Thu, Oct 18, 2012 at 10:05:39AM -0700, tip-bot for Peter Zijlstra wrote: Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra a.p.zijls...@chello.nl AuthorDate: Fri, 12 Oct 2012

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: Of course I'm banging my head into a wall for not seeing earlier through the existing migration path how easy this could be. There's a reason I keep promoting the idea of 'someone' rewriting all that page-migration code :-) I forever

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: Right now, unlike the traditional migration path, this breaks COW for every migration, but maybe you don't care about shared pages in the first place. And fixing that should be nothing more than grabbing the anon_vma lock and using

Re: [tip:numa/core] sched/numa/mm: Improve migration

2012-10-19 Thread Peter Zijlstra
On Fri, 2012-10-19 at 09:51 -0400, Johannes Weiner wrote: It's slightly ugly that migrate_page_copy() actually modifies the existing page (deactivation, munlock) when you end up having to revert back to it. The worst is actually calling copy_huge_page() on a THP.. it seems to work though ;-)

[tip:numa/core] sched/numa/mm: Improve migration

2012-10-18 Thread tip-bot for Peter Zijlstra
Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra AuthorDate: Fri, 12 Oct 2012 19:30:14 +0200 Committer: Ingo Molnar CommitDate: Mon, 15 Oct 2012 14:18:40 +0200 sched/numa/mm: Improve

[tip:numa/core] sched/numa/mm: Improve migration

2012-10-18 Thread tip-bot for Peter Zijlstra
Commit-ID: 713f937655c4b15131b5a0eae4610918a4febe17 Gitweb: http://git.kernel.org/tip/713f937655c4b15131b5a0eae4610918a4febe17 Author: Peter Zijlstra a.p.zijls...@chello.nl AuthorDate: Fri, 12 Oct 2012 19:30:14 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 15 Oct 2012