Messages in this thread | | | Subject | Re: prctl(PR_SET_MM) | Date | Wed, 20 Feb 2013 22:16:16 +1100 (EST) | From | (Amnon Shiloh) |
| |
Hi Cyrill,
Cyrill Gorcunov wrote:
> I see. Thanks for explanation! Thus we need some new config option which would > enable this prctl opcodes (y by default), in turn config-checkpoint-restore > kconfig option need to select this feature if set. Sounds reasonable?
Yes, This would be one possible way to do it. Another possibility is to not have an #ifdef at all around this code. Another possibility is to have a dual #if:
#if defined(CONFIG_CHECKPOINT_RESTORE) || defined(CONFIG_MM_FIELDS_SETTING)
Best Regards, Amnon.
| |