// SPDX-License-Identifier: MPL-2.0
//! APIs for memory statistics.
use cratePAGE_ALLOCATOR;
/// Total memory available for any usages in the system (in bytes).
///
/// It would be only a slightly less than total physical memory of the system
/// in most occasions. For example, bad memory, kernel statically-allocated
/// memory or firmware reserved memories do not count.
/// Current readily available memory (in bytes).
///
/// Such memory can be directly used for allocation without reclaiming.