Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Jun 4, 2022
1 parent b05c42a commit f7db122
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/advice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ pub enum Advice {
/// zero-filled pages on demand, other pages will be left as is.
#[cfg(any(target_os = "macos", target_os = "ios"))]
FreeReuse = libc::MADV_FREE_REUSE,

// Future expansion:
// MADV_SOFT_OFFLINE (since Linux 2.6.33)
// MADV_WIPEONFORK (since Linux 4.14)
// MADV_KEEPONFORK (since Linux 4.14)
// MADV_COLD (since Linux 5.4)
// MADV_PAGEOUT (since Linux 5.4)
}

// Future expansion:
// MADV_SOFT_OFFLINE (since Linux 2.6.33)
// MADV_WIPEONFORK (since Linux 4.14)
// MADV_KEEPONFORK (since Linux 4.14)
// MADV_COLD (since Linux 5.4)
// MADV_PAGEOUT (since Linux 5.4)

0 comments on commit f7db122

Please sign in to comment.