You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Atrate
changed the title
vramfs deadlock caused by vramfs getting swapped to vram swap
[Bug] vramfs deadlock caused by vramfs getting swapped to vram swap
May 29, 2022
Hello,
I have set-up swap on VRAM using
vramfs
and the guide from https://wiki.archlinux.org/title/Swap_on_video_RAM#FUSE_filesystem .The problem appears when, under high memory pressure,
vramfs
gets swapped to VRAM, causing a complete deadlock.Solution: use the
mlockall(MCL_CURRENT | MCL_FUTURE)
syscall to lockvramfs
's memory and not have it be swapped.Workaround: #3 (comment)
The text was updated successfully, but these errors were encountered: