Re: [PATCH] xfs: Timely free truncated dirty pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/11/2017 09:07 AM, Vlastimil Babka wrote:
> Now MemAvailable is based on NR_FREE_PAGES and NR_[IN]ACTIVE_FILE (I
> actually wonder why the value is so high here, it should consider only
> half of the file LRU's as available, according to the comment there...
> oh, I see, there's a math error there, I'll report that separately...).

Ah, looks like the comment is just somewhat ambiguous. "half of the file
LRU's" applies only if their size is below the low watermarks. The code
seems to do the right thing.
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux