mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-04 21:34:36 +00:00
add missing use std::sync::Lazylock to malloc_utils::glibc (#6234)
* add missing use std::sync::Lazylock
This commit is contained in:
@@ -9,6 +9,7 @@ use parking_lot::Mutex;
|
|||||||
use std::env;
|
use std::env;
|
||||||
use std::os::raw::c_int;
|
use std::os::raw::c_int;
|
||||||
use std::result::Result;
|
use std::result::Result;
|
||||||
|
use std::sync::LazyLock;
|
||||||
|
|
||||||
/// The optimal mmap threshold for Lighthouse seems to be around 128KB.
|
/// The optimal mmap threshold for Lighthouse seems to be around 128KB.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user