From: Lee Schermerhorn Date: Tue, 23 Mar 2010 20:35:41 +0000 (-0700) Subject: mempolicy: fix get_mempolicy() for relative and static nodes X-Git-Tag: v2.6.34-rc3~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6b6ef8bb05af632889c5536513b9f4004961f73;p=pandora-kernel.git mempolicy: fix get_mempolicy() for relative and static nodes Discovered while testing other mempolicy changes: get_mempolicy() does not handle static/relative mode flags correctly. Return the value that the user specified so that it can be restored via set_mempolicy() if desired. Signed-off-by: Lee Schermerhorn Cc: Hugh Dickins Cc: Ravikiran Thirumalai Cc: KOSAKI Motohiro Cc: Christoph Lameter Cc: David Rientjes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed