Re: [Devel] [PATCH v2 rh7 2/2] mm/page-writeback: Introduce per-CT dirty memory limit.

2016-01-20 Thread Vladimir Davydov
On Tue, Jan 19, 2016 at 07:14:30PM +0300, Andrey Ryabinin wrote: ... > @@ -1394,6 +1394,124 @@ static inline void bdi_dirty_limits(struct > backing_dev_info *bdi, > /* > * balance_dirty_pages() must be called by processes which are generating > dirty > * data. It looks at the number of

[Devel] [PATCH v2 rh7 2/2] mm/page-writeback: Introduce per-CT dirty memory limit.

2016-01-19 Thread Andrey Ryabinin
This patch adds balance_dirty_pages_ub() which is implements per-UB logic of balance_dirty_pages() from PCS6. balance_dirty_pages_ub() is invoked right before the original balance_dirty_pages() to issue per-UB writeback. After that balance_dirty_pages() will be executed for global writeback.