mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] init/Kconfig: make CHECKPOINT_RESTORE select PROC_PAGE_MONITOR
@ 2018-02-27  6:55 Mike Rapoport
  2018-02-28  6:30 ` kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2018-02-27  6:55 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Pavel Emelyanov, Andrei Vagin, crml, lkml, Mike Rapoport

Checkpointing a process requires knowledge about the process memory layout
which is obtained from /proc/<pid>/smaps, /proc/<pid>/pagemap etc.
Make sure these interfaces are available only when
CONFIG_CHECKPOINT_RESTORE=y

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
 init/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/init/Kconfig b/init/Kconfig
index e37f4b2a6445..63c1fd5bc360 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1328,6 +1328,7 @@ config MEMBARRIER
 config CHECKPOINT_RESTORE
 	bool "Checkpoint/restore support" if EXPERT
 	select PROC_CHILDREN
+	select PROC_PAGE_MONITOR
 	default n
 	help
 	  Enables additional kernel features in a sake of checkpoint/restore.
-- 
2.7.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-28  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-27  6:55 [PATCH] init/Kconfig: make CHECKPOINT_RESTORE select PROC_PAGE_MONITOR Mike Rapoport
2018-02-28  6:30 ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®