]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mlock: count attempts to free mlocked page
authorLee Schermerhorn <lee.schermerhorn@hp.com>
Sun, 19 Oct 2008 03:26:53 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:31 +0000 (08:52 -0700)
commit985737cf2ea096ea946aed82c7484d40defc71a8
treeb96dc3b8c28f743857a7a1fff25472d6e0f60120
parentaf936a1606246a10c145feac3770f6287f483f02
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>
include/linux/vmstat.h
mm/internal.h
mm/page_alloc.c
mm/vmstat.c