]> git.baikalelectronics.ru Git - kernel.git/commit
move page writeback acounting out of macros
authorAndrew Morton <akpm@osdl.org>
Thu, 19 Jul 2007 08:49:17 +0000 (01:49 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 19 Jul 2007 17:04:52 +0000 (10:04 -0700)
commitdf1d53667f035d8f89107149163a2d639ee2d193
tree2f572d18af05969b2c882970cda4860be345bdfc
parent052e55602c098dd9814927c778d3537acdd5e3ca
move page writeback acounting out of macros

page-writeback accounting is presently performed in the page-flags macros.
This is inconsistent and a bit ugly and makes it awkward to implement
per-backing_dev under-writeback page accounting.

So move this accounting down to the callsite(s).

Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/page-flags.h
mm/page-writeback.c