]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] page migration: Fail with error if swap not setup
authorChristoph Lameter <clameter@sgi.com>
Fri, 17 Mar 2006 07:03:59 +0000 (23:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 17 Mar 2006 15:51:25 +0000 (07:51 -0800)
commit90036ee5938d89638e80f4d0d0700d0f2dbd4a6a
treede0f9275dcf8a051baf70df8574ce34b8b1f158d
parente0e8eb54d8ae0c4cfd1d297f6351b08a7f635c5f
[PATCH] page migration: Fail with error if swap not setup

Currently the migration of anonymous pages will silently fail if no swap is
setup.  This patch makes page migration functions check for available swap
and fail with -ENODEV if no swap space is available.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c