Re: [PATCH 17/23] mm: count writeback pages per BDI

Christoph Lameter
2007-08-09T19:15:07Z

On Fri, 3 Aug 2007, Peter Zijlstra wrote:

> page_index(page),
> PAGECACHE_TAG_WRITEBACK);
> + if (bdi_cap_writeback_dirty(bdi))
> + __dec_bdi_stat(bdi, BDI_WRITEBACK);

Why are these not incremented and decremented in the exact location of
NR_WRITEBACK?