Re: what's the incompatibility between hibernation and hotplug memory

From: Rafael J. Wysocki
Date: Thu Mar 27 2008 - 16:56:09 EST


On Thursday, 27 of March 2008, Jeremy Fitzhardinge wrote:
> Pavel Machek wrote:
> > Hi!
> >
> >
> >>> I noticed that Kconfig warns that hibernation and hotplug memory are not
> >>> compatible. What's the issue?
> >>>
> >> Generally, we might not be able to handle memory unplugged at a wrong time
> >> (eg. after we've created the image).
> >>
> >> Which part of Kconfig says that exactly?
> >>
> >
> > Actually I believe it is simpler than that. We were not prepared to
> > deal with memory holes in hibernation code, so we just disabled it in
> > Kconfig...
>
> Doesn't that mean its generally incompatible with non-flatmem memory
> arrangements rather than hotplug memory specifically?

No, it should work with NUMA nowadays, actually.

Perhaps it's worth trying it with hotplug memory and see what problems arise?

Thanks,
Rafael
--
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/