[CRIU] [PATCH 3/4] check: do timerfd check on mainline kernel

Tycho Andersen tycho.andersen at canonical.com
Thu Oct 15 15:28:09 PDT 2015


As of
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5442e9fbd
this feature is in mainline, so let's check for it in ms.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 timerfd.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/timerfd.c b/timerfd.c
index 79ddb2b..940190f 100644
--- a/timerfd.c
+++ b/timerfd.c
@@ -44,11 +44,6 @@ int check_timerfd(void)
 {
 	int fd, ret = -1;
 
-	if (opts.check_ms_kernel) {
-		pr_warn("Skipping timerfd support check\n");
-		return 0;
-	}
-
 	fd = timerfd_create(CLOCK_MONOTONIC, 0);
 	if (fd < 0) {
 		pr_perror("timerfd_create failed");
-- 
2.1.4



More information about the CRIU mailing list