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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2102677

Title:
  Backport: Fix mmu notifiers for range-based invalidates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2102677/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to