FP5: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.
Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
diff --git a/device.mk b/device.mk
index 2f911a0..6f59a16 100644
--- a/device.mk
+++ b/device.mk
@@ -237,6 +237,9 @@
ipacm \
IPACM_cfg.xml
+# Kernel
+PRODUCT_ENABLE_UFFD_GC := false
+
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.hardware_keystore.km41.xml \