Skip to content

Commit

Permalink
add missing use std::sync::Lazylock to malloc_utils::glibc (sigp#6234)
Browse files Browse the repository at this point in the history
* add missing use std::sync::Lazylock
  • Loading branch information
jxs authored and chong-he committed Nov 26, 2024
1 parent 051cabf commit 998a23d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/malloc_utils/src/glibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use parking_lot::Mutex;
use std::env;
use std::os::raw::c_int;
use std::result::Result;
use std::sync::LazyLock;

/// The optimal mmap threshold for Lighthouse seems to be around 128KB.
///
Expand Down

0 comments on commit 998a23d

Please sign in to comment.