]> git.proxmox.com Git - mirror_spl.git/commit
Include other sources of freeable memory in the freemem calculation
authorTim Chase <tim@chase2k.com>
Wed, 12 Aug 2015 14:57:35 +0000 (09:57 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Aug 2015 16:25:30 +0000 (09:25 -0700)
commit851a549305ad9001e7a6dfbf735f501b286e9d08
tree7a26213af8d3766b9345c95dfeac794144b388c0
parent8ac6ffecaf6dacfec6c5cb24d0bc8b3d40db63ef
Include other sources of freeable memory in the freemem calculation

Prevents ARC collapse when non-ZFS filesystems, the block layer or other
memory consumers use a lot of reclaimable memory in the page cache.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes zfsonlinux/zfs#3680
Closes #471
include/sys/vmsystm.h