mm/gup: Issues running cudaMallocHost

Bug #2110319 reported by Carol Soto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-nvidia (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Committed
Undecided
Unassigned
linux-nvidia-6.11 (Ubuntu)
Invalid
Undecided
Unassigned
Noble
Fix Committed
Undecided
Unassigned

Bug Description

With kernel 6.11 we are seeing some issues with applications that pin_user_pages*(FOLL_LONGTERM).
We are seeing memory leak and failures to allocate pages when running cuda test that calls cudaMallocHost.

These 2 patches resolved the issue:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=aa6f8b2593b56a02043684182a89853f919dff3e
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=94efde1d15399f5c88e576923db9bcd422d217f2

Revision history for this message
Ian May (ian-may) wrote :

Adding additional patch that provides Fixes: 94efde1d1539 ("mm/gup: avoid an unnecessary allocation call for FOLL_LONGTERM cases")

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=a1268be280d8e484ab3606d7476edd0f14bb9961

Changed in linux-nvidia (Ubuntu):
status: New → Invalid
Changed in linux-nvidia-6.11 (Ubuntu):
status: New → Invalid
Changed in linux-nvidia (Ubuntu Noble):
status: New → Fix Committed
Changed in linux-nvidia-6.11 (Ubuntu Noble):
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-nvidia-6.11/6.11.0-1009.9 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux-nvidia-6.11' to 'verification-done-noble-linux-nvidia-6.11'. If the problem still exists, change the tag 'verification-needed-noble-linux-nvidia-6.11' to 'verification-failed-noble-linux-nvidia-6.11'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-nvidia-6.11-v2 verification-needed-noble-linux-nvidia-6.11
Revision history for this message
Carol Soto (csotog) wrote :

Verified with kernel 6.11.0-1009-nvidia-64k

tags: added: verification-done-noble-linux-nvidia-6.11
removed: verification-needed-noble-linux-nvidia-6.11
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.