Re: [PATCH] Make CONFIG_MIGRATION available for s390

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Gerald Schaefer
Date: Monday, July 7, 2008 - 10:28 am

On Mon, 2008-07-07 at 10:09 -0500, Christoph Lameter wrote:

Nothing will change here for the NUMA case, this is all about making it
compile w/o NUMA and with MIGRATION. What new strange semantics do you mean?
BTW, the latest patch in this thread will not touch vma_migratable() anymore,
I haven't read your mail before, sorry.


Right, but I noticed that this function definition was needed to make it
compile with MIGRATION and w/o NUMA, although it would never be called in
non-NUMA config.
A better solution would probably be to put migrate_vmas(), the only caller
of vm_ops->migrate(), inside '#ifdef CONFIG_NUMA', because it will only be
called from NUMA-only mm/mempolicy.c. Does that sound reasonable?


Umm, it doesn't compile with MIGRATION and w/o NUMA, which was the reason
for this patch, because of the policy_zone reference in vma_migratable()
and the missing vm_ops->migrate() function.

Thanks,
Gerald

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

Messages in current thread:
[PATCH] Make CONFIG_MIGRATION available for s390, Gerald Schaefer, (Sun Jul 6, 7:35 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Yasunori Goto, (Sun Jul 6, 11:22 pm)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Andy Whitcroft, (Mon Jul 7, 2:16 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Yasunori Goto, (Mon Jul 7, 3:24 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Christoph Lameter, (Mon Jul 7, 8:09 am)
[PATCH] Make CONFIG_MIGRATION available for s390, Gerald Schaefer, (Mon Jul 7, 9:41 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Christoph Lameter, (Mon Jul 7, 9:53 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Gerald Schaefer, (Mon Jul 7, 10:28 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Christoph Lameter, (Mon Jul 7, 10:38 am)
[PATCH] Make CONFIG_MIGRATION available for s390, Gerald Schaefer, (Mon Jul 7, 11:25 am)
Re: [PATCH] Make CONFIG_MIGRATION available for s390, Christoph Lameter, (Mon Jul 7, 11:32 am)
[PATCH] Make CONFIG_MIGRATION available w/o NUMA, Gerald Schaefer, (Tue Jul 8, 3:50 am)
Re: [PATCH] Make CONFIG_MIGRATION available w/o NUMA, Christoph Lameter, (Tue Jul 8, 6:35 am)
Re: [PATCH] Make CONFIG_MIGRATION available w/o NUMA, Christoph Lameter, (Tue Jul 8, 6:47 am)
Re: [PATCH] Make CONFIG_MIGRATION available w/o NUMA, Gerald Schaefer, (Fri Jul 11, 6:05 am)