On 07/12/2018 04:07 PM, Adrian Reber wrote:
> The CHECKPOINT_RESTORE configuration option was introduced in 2012 and
> combined with EXPERT. CHECKPOINT_RESTORE is already enabled in many
> distribution kernels and also part of the defconfigs of various
> architectures.
> 
> To make it easier for distributions to enable CHECKPOINT_RESTORE this
> removes EXPERT and moves the configuration option out of the EXPERT
> block.
> 
> Signed-off-by: Adrian Reber <[email protected]>
> Cc: Oleg Nesterov <[email protected]>
> Cc: Pavel Emelyanov <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Eric W. Biederman <[email protected]>
> Cc: Andrei Vagin <[email protected]>
> Cc: Hendrik Brueckner <[email protected]>

Acked-by: Pavel Emelyanov <[email protected]>

> ---
>  init/Kconfig | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/init/Kconfig b/init/Kconfig
> index 041f3a022122..9c529c763326 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -932,6 +932,18 @@ config NET_NS
>  
>  endif # NAMESPACES
>  
> +config CHECKPOINT_RESTORE
> +     bool "Checkpoint/restore support"
> +     select PROC_CHILDREN
> +     default n
> +     help
> +       Enables additional kernel features in a sake of checkpoint/restore.
> +       In particular it adds auxiliary prctl codes to setup process text,
> +       data and heap segment sizes, and a few additional /proc filesystem
> +       entries.
> +
> +       If unsure, say N here.
> +
>  config SCHED_AUTOGROUP
>       bool "Automatic process group scheduling"
>       select CGROUPS
> @@ -1348,18 +1360,6 @@ config MEMBARRIER
>  
>         If unsure, say Y.
>  
> -config CHECKPOINT_RESTORE
> -     bool "Checkpoint/restore support" if EXPERT
> -     select PROC_CHILDREN
> -     default n
> -     help
> -       Enables additional kernel features in a sake of checkpoint/restore.
> -       In particular it adds auxiliary prctl codes to setup process text,
> -       data and heap segment sizes, and a few additional /proc filesystem
> -       entries.
> -
> -       If unsure, say N here.
> -
>  config KALLSYMS
>        bool "Load all symbols for debugging/ksymoops" if EXPERT
>        default y
> 

Reply via email to