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)
commitd688abf50bd5a30d2c44dea2a72dd59052cd3cce
tree2f572d18af05969b2c882970cda4860be345bdfc
parent6819457d2cb7fe4fdb0fc3655b6b6dc71a86bee9
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