Skip to content

Commit

Permalink
Fix documentation for Meminfo.s_reclaimable.
Browse files Browse the repository at this point in the history
It incorrecly states that this memory cannot be reclaimed (that would be the field `s_unreclaim`).
  • Loading branch information
carletes authored Mar 1, 2024
1 parent 1dd7114 commit 7eb75a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion procfs-core/src/meminfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ pub struct Meminfo {
pub shmem: Option<u64>,
/// In-kernel data structures cache.
pub slab: u64,
/// Part of Slab, that cannot be reclaimed on memory pressure.
/// Part of Slab, that can be reclaimed on memory pressure.
///
/// (since Linux 2.6.19)
pub s_reclaimable: Option<u64>,
Expand Down

0 comments on commit 7eb75a1

Please sign in to comment.