diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-03-16 23:03:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-17 07:51:25 -0800 |
commit | 90036ee5938d89638e80f4d0d0700d0f2dbd4a6a (patch) | |
tree | de0f9275dcf8a051baf70df8574ce34b8b1f158d /mm/mprotect.c | |
parent | e0e8eb54d8ae0c4cfd1d297f6351b08a7f635c5f (diff) | |
download | op-kernel-dev-90036ee5938d89638e80f4d0d0700d0f2dbd4a6a.zip op-kernel-dev-90036ee5938d89638e80f4d0d0700d0f2dbd4a6a.tar.gz |
[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>
Diffstat (limited to 'mm/mprotect.c')
0 files changed, 0 insertions, 0 deletions