StagingBuffer: Prefer mlock to io_uring_register_buffers
This commit is contained in:
@@ -149,6 +149,7 @@ private:
|
||||
{
|
||||
if (ptr != nullptr && size > 0)
|
||||
{
|
||||
munlock(ptr, size);
|
||||
munmap(ptr, size);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user