summaryrefslogtreecommitdiff
path: root/src/basic/def.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-05 10:24:27 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-04-05 20:30:00 +0200
commit277f05872f8d5c0dfc0da29d5a67cc01961c8bf2 (patch)
tree859f672b3733ec73999ab3b07b1f67a3e1a33950 /src/basic/def.h
parent42ac3bf1a322c3619b71b210863c4e5d66b9c284 (diff)
downloadsystemd-277f05872f8d5c0dfc0da29d5a67cc01961c8bf2.tar.gz
README: say kernel 4.15 is the minimum recommended
After various long discussions (https://lists.freedesktop.org/archives/systemd-devel/2022-March/047587.html, https://lwn.net/Articles/889610/), there is no clear answer what the minimum version should be. Bumping the version above 3.15 doesn't allow us to make any significant simplifications (unless we went *much* higher). In particular, even renameat2() is not fully supported with latest kernel versions, e.g. nfs still doesn't have it. And the bpf stuff is optional anyway. So let's just say that 4.15 is what we recommend, because it provides fairly complete cgroups-v2, but without any removals of compat in the code.
Diffstat (limited to 'src/basic/def.h')
-rw-r--r--src/basic/def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/def.h b/src/basic/def.h
index 54a82c7c49..0a1ae023a3 100644
--- a/src/basic/def.h
+++ b/src/basic/def.h
@@ -74,4 +74,4 @@
/* Path where systemd-oomd listens for varlink connections from user managers to report changes in ManagedOOM settings. */
#define VARLINK_ADDR_PATH_MANAGED_OOM_USER "/run/systemd/oom/io.system.ManagedOOM"
-#define KERNEL_BASELINE_VERSION "3.15"
+#define KERNEL_BASELINE_VERSION "4.15"