Skip to content

Commit 1b31489

Browse files
committed
remove TODO
1 parent d2f68d3 commit 1b31489

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/blocks/memory.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,8 @@ pub async fn run(config: Config, mut api: CommonApi) -> Result<()> {
116116
} as f64
117117
* 1024.;
118118

119-
// TODO: While zfs_arc_cache can be considered "available" memory,
119+
// While zfs_arc_cache can be considered "available" memory,
120120
// it can only free a maximum of (zfs_arc_cache - zfs_arc_min) amount.
121-
// So we need to grab the info for zfs_arc_min as well, but cannot find it in arcstats...
122121
// see https://github.com/htop-dev/htop/pull/1003
123122
let zfs_shrinkable_size = if mem_state.zfs_arc_cache > mem_state.zfs_arc_min {
124123
mem_state.zfs_arc_cache - mem_state.zfs_arc_min

0 commit comments

Comments
 (0)