diff options
author | Lee Schermerhorn <lee.schermerhorn@hp.com> | 2008-10-18 23:26:53 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 11:52:31 -0400 |
commit | 985737cf2ea096ea946aed82c7484d40defc71a8 (patch) | |
tree | b96dc3b8c28f743857a7a1fff25472d6e0f60120 /mm/vmstat.c | |
parent | af936a1606246a10c145feac3770f6287f483f02 (diff) |
mlock: count attempts to free mlocked page
Allow free of mlock()ed pages. This shouldn't happen, but during
developement, it occasionally did.
This patch allows us to survive that condition, while keeping the
statistics and events correct for debug.
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
-rw-r--r-- | mm/vmstat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index 9e28abc0a0b9..9343227c5c60 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -689,6 +689,7 @@ static const char * const vmstat_text[] = { | |||
689 | "unevictable_pgs_munlocked", | 689 | "unevictable_pgs_munlocked", |
690 | "unevictable_pgs_cleared", | 690 | "unevictable_pgs_cleared", |
691 | "unevictable_pgs_stranded", | 691 | "unevictable_pgs_stranded", |
692 | "unevictable_pgs_mlockfreed", | ||
692 | #endif | 693 | #endif |
693 | #endif | 694 | #endif |
694 | }; | 695 | }; |