debian/config: add DAMON support for debian kernel
Currently, the Debian kernel does not enable the upstream kernel feature that allows for low-overhead memory access pattern awareness for virtual/physical memory and optimizes memory management, even if THP is enabled.
However, the DAMO user-space tool is supported in the Debian package. Links:
- DAMO Debian Package: https://packages.debian.org/source/sid/damo
- DAMO Salsa Repository: https://salsa.debian.org/python-team/packages/damo
Therefore, to use DAMO user-space tool functionality, we need to build and use a custom kernel in Debian. Fedora and Red Hat kernels support this feature, and DAMON is widely used in cloud, server or use cases that require detailed knowledge of memory access patterns. Link:
- Fedora Kernel Configuration: https://src.fedoraproject.org/rpms/kernel/blob/f41/f/kernel-x86_64-rhel.config#_1167
We need to enable the CONFIG_DAMON to optimize memory management base on data access patterns supported by the upstream kernel.
Reported-by: SeongJae Park sj@kernel.org
Cc: Michel Lind michel@michel-slm.name
Signed-off-by: Yunseong Kim yskelg@gmail.com