Public bug reported:

This patch is needed in linux-nvidia-6.17 to avoid a soft lockup when
mapping EGM memory for a GPU passthrough VM.

---

When initializing EGM (Extended GPU Memory) regions, the current
implementation performs a single memset operation over the entire memory
region. For very large regions, this can result in long-running
uninterruptible operations that may cause system responsiveness issues
or trigger watchdog timeouts.

Split the memset operation into 1GB chunks.

Error log:
[ 457.465816] watchdog: BUG: soft lockup - CPU#11 stuck for 27s! 
[qemu-system-aar:11324]

** 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/2142160

Title:
  Backport NVIDIA: SAUCE: vfio/nvgrace-egm: split zapping EGM into 1GB
  chunks

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to