Round hashglobe allocations up to the nearest page size.

MozReview-Commit-ID: 34KFtcwCkBB
This commit is contained in:
Bobby Holley 2017-09-26 20:57:20 -07:00
parent 98f370130d
commit ef042899d2
8 changed files with 29 additions and 1 deletions

View file

@ -52,3 +52,6 @@ impl fmt::Display for FailedAllocationError {
self.reason.fmt(f)
}
}
// The size of memory pages on this system. Set when initializing geckolib.
pub static SYSTEM_PAGE_SIZE: ::std::sync::atomic::AtomicUsize = ::std::sync::atomic::ATOMIC_USIZE_INIT;