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
Best case here is you end up with 2 (or technically possibly more) things running the mounts code needlessly.
Worse cases could be undefined behavior due to the go memory model.
The text was updated successfully, but these errors were encountered:
The mount cache is read here without locking:
nvidia-container-toolkit/internal/discover/mounts.go
Lines 59 to 67 in 4604e3b
But it is set here while locked:
nvidia-container-toolkit/internal/discover/mounts.go
Line 116 in 4604e3b
Best case here is you end up with 2 (or technically possibly more) things running the mounts code needlessly.
Worse cases could be undefined behavior due to the go memory model.
The text was updated successfully, but these errors were encountered: