Re: [PATCH] Make CONFIG_MIGRATION available for s390

From: Gerald Schaefer
Date: Sun Jul 06 2008 - 10:31:06 EST


On Sat, 2008-07-05 at 15:14 +0900, Yasunori Goto wrote:
> > > config MIGRATION
> > > bool "Page migration"
> > > def_bool y
> > > - depends on NUMA
> > > + depends on NUMA || S390
>
> Hmm. I think ARCH_ENABLE_MEMORY_HOTREMOVE is better than S390.

Right, that makes more sense. I also noticed that my patch will produce
a compile error when CONFIG_NUMA is set but CONFIG_MIGRATION is not,
because policy_zone is missing in that case. Since policy_zone is only
used for NUMA, a better solution would be to use an "#ifdef CONFIG_NUMA"
within vma_migratable(). I will send a new version of the patch.

Thanks,
Gerald


--
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/