Public bug reported: A userspace-selected vm.min_free_kbytes can be replaced with a higher automatic value after memory hotplug or THP configuration changes. Large pageblocks can make that value excessive, reducing memory available to applications and triggering reclaim earlier.
Backport upstream commit 397e087605526e31c067afd5fba85bd999e5738f (mm: stop recalculating min_free_kbytes once set by userspace). It preserves an explicit userspace setting while retaining automatic sizing when the sysctl has never been written. Upstream: https://github.com/torvalds/linux/commit/397e087605526e31c067afd5fba85bd999e5738f Targets: 26.04_linux-nvidia-bos, 26.04_linux-nvidia (7.0-LTS), and 26.04_linux-nvidia-7.3-next. BOS PR: https://github.com/NVIDIA/NV-Kernels/pull/669 7.3 PR: https://github.com/NVIDIA/NV-Kernels/pull/703 7.0-LTS PR: https://github.com/NVIDIA/NV-Kernels/pull/704 ** Affects: linux-nvidia (Ubuntu) Importance: Undecided Status: New ** Description changed: A userspace-selected vm.min_free_kbytes can be replaced with a higher automatic value after memory hotplug or THP configuration changes. Large pageblocks can make that value excessive, reducing memory available to applications and triggering reclaim earlier. Backport upstream commit 397e087605526e31c067afd5fba85bd999e5738f (mm: stop recalculating min_free_kbytes once set by userspace). It preserves an explicit userspace setting while retaining automatic sizing when the sysctl has never been written. Upstream: https://github.com/torvalds/linux/commit/397e087605526e31c067afd5fba85bd999e5738f Targets: 26.04_linux-nvidia-bos, 26.04_linux-nvidia (7.0-LTS), and 26.04_linux-nvidia-7.3-next. BOS PR: https://github.com/NVIDIA/NV-Kernels/pull/669 + 7.3 PR: https://github.com/NVIDIA/NV-Kernels/pull/703 + 7.0-LTS PR: https://github.com/NVIDIA/NV-Kernels/pull/704 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2173855 Title: linux-nvidia: preserve userspace min_free_kbytes across recalculation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2173855/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
