Skip to content

Commit 3a718c0

Browse files
committed
skip source free when the reserved memory is not crossing arc_max
1 parent 85312c2 commit 3a718c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

module/os/windows/spl/spl-vmem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ vmem_xfree(vmem_t *vmp, void *vaddr, size_t size)
17371737
// don;t want to do this unless we are near the arc limit
17381738
boolean_t skip_sfree = true;
17391739
if (segkmem_total_mem_allocated >
1740-
(zfs_arc_max * 90) / 100) {
1740+
(zfs_arc_max * 100) / 100) {
17411741
KdPrintEx((DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL,
17421742
"vmem_xfree: skip source free segkmem_total_mem_allocated: %llu zfs_arc_max: %llu\n",
17431743
segkmem_total_mem_allocated, zfs_arc_max));

0 commit comments

Comments
 (0)