nvidia_uvm module kills operation of command "lsns"

Linux-System: Opensuse Leap 42.2, Kernel: Linux 4.4.92-18.36-default #1 SMP.

Nvidia-Driver: 384.98

I am experimenting with Linux namespaces and use the command “lsns” quite often.
I experienced the following:

“lsns” stops functioning whenever GIMP, Libreoffice or other applications are started that trigger loading the module “nvidia_uvm”. In LibreOffice e.g. this is caused by the OpenCL settings.

strace of lsns also directed me to UVM related processes …

So, I tested just by loading “nvidia_uvm” and unloading it:

mytux:~ # lsns
NS TYPE NPROCS PID USER COMMAND
4026531836 pid 371 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24
4026531837 user 371 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24
4026531838 uts 371 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24
4026531839 ipc 371 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24
4026531840 mnt 365 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24


mytux:~ # modprobe nvidia_uvm
mytux:~ # lsns
mytux:~ #
mytux:~ # rmmod nvidia_uvm
mytux:~ # lsns
NS TYPE NPROCS PID USER COMMAND
4026531836 pid 371 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24
4026531837 user 371 1 root /usr/lib/systemd/systemd --switched-root --system --deserialize 24

So, it seems that module “nvidia_uvm” causes real trouble. Any comments / suggestions ?

Thanks for reporting this. We reproduced the problem and it’s being tracked in bug 2017808.