https://github.com/torvalds/linux
Revision 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0 authored by Linus Torvalds on 06 February 2010, 00:16:50 UTC, committed by Linus Torvalds on 06 February 2010, 21:00:37 UTC
We incorrectly depended on the 'node_state/node_isset()' functions
testing the node range, rather than checking it explicitly.  That's not
reliable, even if it might often happen to work.  So do the proper
explicit test.

Reported-by: Marcus Meissner <meissner@suse.de>
Acked-and-tested-by: Brice Goglin <Brice.Goglin@inria.fr>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 9d9c3a5
History
Tip revision: 6f5a55f1a6c5abee15a0e878e5c74d9f1569b8b0 authored by Linus Torvalds on 06 February 2010, 00:16:50 UTC
Fix potential crash with sys_move_pages
Tip revision: 6f5a55f

back to top