KAMEZAWA Hiroyuki d559db086f mm: clean up mm_counter
Presently, per-mm statistics counter is defined by macro in sched.h

This patch modifies it to
  - defined in mm.h as inlinf functions
  - use array instead of macro's name creation.

This patch is for reducing patch size in future patch to modify
implementation of per-mm counter.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:23 -08:00
..
2009-12-03 13:49:43 +01:00
2009-04-01 08:59:13 -07:00
2010-03-06 11:26:23 -08:00
2010-03-06 11:26:23 -08:00
2009-06-16 19:47:28 -07:00
2009-12-15 08:53:20 -08:00
2010-03-06 11:26:23 -08:00
2009-09-22 07:17:35 -07:00
2009-12-30 12:23:27 -08:00
2010-03-06 11:26:23 -08:00
2009-12-15 08:53:16 -08:00
2010-02-26 08:25:35 +01:00
2009-12-17 15:45:32 -08:00
2010-03-06 11:26:23 -08:00
2009-12-16 19:48:48 -05:00
2010-03-04 12:09:43 +02:00
2010-03-01 17:59:24 -08:00
2010-03-06 11:26:23 -08:00
2009-06-23 12:50:05 -07:00
2010-01-13 16:09:33 -08:00
2010-01-05 15:34:51 +09:00