Ensure that ZFS free memory checks include cached pages
Also restore kmem_used() check for i386 as it has KVA limits that the raw page counts above don't consider
Differential D700
Changes to ZFS ARC interation with VM smh on Aug 30 2014, 7:36 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event TimelineComment Actions By inspection, this appears to address my concerns. I was about to fire up a local preliminary version but I'll use this to keep it simple. The 1-line change at the kmem_free_count() entry at the top is the one I particularly want. I believe zfs on i386 (and other non-direct-map, kva-restricted machines) requires more work (eg: the arc_memory_throttle function needs a similar constraint) but I don't want to hold up the fixes for that. Comment Actions Peter can you approve the patch so I can close this one off, as there doesn't seem to be a way to force it based on a comment only. |