]> git.baikalelectronics.ru Git - kernel.git/commit
vmstat: mlocked pages statistics
authorNick Piggin <npiggin@suse.de>
Sun, 19 Oct 2008 03:26:51 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:31 +0000 (08:52 -0700)
commitc0b4728b924e8ca6c7a0ea5f2bbb0ec0a222e4a6
treef9f8773ae8e38fb91aec52ca9ad2bd81f039b565
parent7fb9690d921378ec7e0eed2928c7dda71acf5b6f
vmstat: mlocked pages statistics

Add NR_MLOCK zone page state, which provides a (conservative) count of
mlocked pages (actually, the number of mlocked pages moved off the LRU).

Reworked by lts to fit in with the modified mlock page support in the
Reclaim Scalability series.

[kosaki.motohiro@jp.fujitsu.com: fix incorrect Mlocked field of /proc/meminfo]
[lee.schermerhorn@hp.com: mlocked-pages: add event counting with statistics]
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/node.c
fs/proc/proc_misc.c
include/linux/mmzone.h
include/linux/vmstat.h
mm/internal.h
mm/mlock.c
mm/vmstat.c