Re: [PATCH v3] writeback: Rework wb_[dec|inc]_stat family of functions

2017-06-22 Thread Jan Kara
On Wed 21-06-17 11:59:41, Tejun Heo wrote: > Hello, > > cc'ing Andrew and Jan and cc'ing whole body. The original patch > posting can be found at > > https://marc.info/?l=linux-kernel&m=149802995611259&q=raw > > On Wed, Jun 21, 2017 at 10:25:37AM +0300, Nikolay Borisov wrote: > > Currently the

Re: [PATCH v3] writeback: Rework wb_[dec|inc]_stat family of functions

2017-06-21 Thread Tejun Heo
Hello, cc'ing Andrew and Jan and cc'ing whole body. The original patch posting can be found at https://marc.info/?l=linux-kernel&m=149802995611259&q=raw On Wed, Jun 21, 2017 at 10:25:37AM +0300, Nikolay Borisov wrote: > Currently the writeback statistics code uses a percpu counters to hold > v

[PATCH v3] writeback: Rework wb_[dec|inc]_stat family of functions

2017-06-21 Thread Nikolay Borisov
Currently the writeback statistics code uses a percpu counters to hold various statistics. Furthermore we have 2 families of functions - those which disable local irq and those which doesn't and whose names begin with double underscore. However, they both end up calling __add_wb_stats which in turn