osd: move buffer-related stats from tick() to tick_without_osd_lock()

1. these counters are of type atomic_t and are public-access safe.

2. since the tick() thread requires the big osd_lock and thus may
   not tick at a constant interval, it is good for accuracy and
   performance to move the buffer-related stats to the
   tick_without_osd_lock() thread instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
xie xingguo 2016-08-01 10:08:51 +08:00
parent 013f394d83
commit 1addc92fc4