]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] Fix sys_migrate_pages: Move all pages when invoked from root
authorChristoph Lameter <clameter@engr.sgi.com>
Wed, 1 Mar 2006 00:58:57 +0000 (16:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Mar 2006 04:53:43 +0000 (20:53 -0800)
commit511030bcd24119fa3759ef3f914d354e107ef839
tree707edb2c804ad6c42ffbd0ef6685b49e076f0dcd
parent5cf6c541f5b3902bdcc2d311d70f8e730aaff1be
[PATCH] Fix sys_migrate_pages: Move all pages when invoked from root

Currently sys_migrate_pages only moves pages belonging to a process.  This
is okay when invoked from a regular user.  But if invoked from root it
should move all pages as documented in the migrate_pages manpage.

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