Public bug reported: This patch fixes a performance issue that has been present since v6.6 when flushing a range of TLBs. Backport to 24.04-linux-nvidia and 24.04-linux-nvidia-6.11. Fixes: 6bbd42e2df8f ("mmu_notifiers: call invalidate_range() when invalidating TLBs") Lore: https://lore.kernel.org/all/20250304085127.2238030-1-pjaroszyn...@nvidia.com/ Linux-next: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f7edb07ad7c6 This was found through the mmu_notifier_arch_invalidate_secondary_tlbs() call site, which is exercised on boot for Grace-Hopper systems when the NVIDIA GPU driver is loaded and the nvidia-persistenced service is enabled. Tested backport by booting system with nvidia-persistenced enabled and starting/stopping the daemon (which exercises the GPU memory hot add/remove paths) and running I/O.
** Affects: linux-nvidia (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-nvidia in Ubuntu. https://bugs.launchpad.net/bugs/2102677 Title: Backport: Fix mmu notifiers for range-based invalidates Status in linux-nvidia package in Ubuntu: New Bug description: This patch fixes a performance issue that has been present since v6.6 when flushing a range of TLBs. Backport to 24.04-linux-nvidia and 24.04-linux-nvidia-6.11. Fixes: 6bbd42e2df8f ("mmu_notifiers: call invalidate_range() when invalidating TLBs") Lore: https://lore.kernel.org/all/20250304085127.2238030-1-pjaroszyn...@nvidia.com/ Linux-next: https://web.git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f7edb07ad7c6 This was found through the mmu_notifier_arch_invalidate_secondary_tlbs() call site, which is exercised on boot for Grace-Hopper systems when the NVIDIA GPU driver is loaded and the nvidia-persistenced service is enabled. Tested backport by booting system with nvidia-persistenced enabled and starting/stopping the daemon (which exercises the GPU memory hot add/remove paths) and running I/O. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2102677/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp