diff --git a/0001-mm-add-sysctl-to-disable-disk-based-swap.patch b/0001-mm-add-sysctl-to-disable-disk-based-swap.patch index c9cbbea..91f11b5 100644 --- a/0001-mm-add-sysctl-to-disable-disk-based-swap.patch +++ b/0001-mm-add-sysctl-to-disable-disk-based-swap.patch @@ -25,6 +25,8 @@ it is not controlled by this sysctl). This patch is based on patches from Chromium OS Linux kernel [1, 2, 3, 4] Patch [5] is taken as an example of adding a sysctl. +TODO: print a message why swap was blocked. + [1] https://gitlab.freedesktop.org/seanpaul/dpu-staging/commit/0b992f2dbb044896c3584e10bd5b97cf41e2ec6d [2] https://chromium.googlesource.com/chromiumos/third_party/kernel/+/880b2d77404682761ae2e19297f1183fd434b0ec%5E%21/ [3] https://chromium.googlesource.com/chromiumos/third_party/kernel/+blame/refs/heads/chromeos-5.4/mm/swapfile.c