summaryrefslogtreecommitdiffhomepage
path: root/pkg/usermem/bytes_io.go
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-01-28 19:58:49 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-28 20:01:08 -0800
commitb81b5883c747dcd019a228e109dbe52514710a88 (patch)
treea0a810a825fbdb8bee24744edffd7f3f6b5d08a0 /pkg/usermem/bytes_io.go
parent9cc2570ea74c678238ed82d044cfecbfe62c5981 (diff)
Acquire entry lock with cache lock held
Avoid a race condition in which an entry is acquired while it is being evicted by overlapping the entry lock with the cache lock. PiperOrigin-RevId: 354452639
Diffstat (limited to 'pkg/usermem/bytes_io.go')
0 files changed, 0 insertions, 0 deletions