]> err.no Git - linux-2.6/commit
mount -t tmpfs -o mpol=: check nodes online
authorHugh Dickins <hugh@veritas.com>
Fri, 8 Jun 2007 20:46:46 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 9 Jun 2007 00:23:32 +0000 (17:23 -0700)
commita210906c1b791af1434323f69427286039c9c8b9
tree17f3deeda2c7c6972b9a72113a14571c2cabaae7
parent9739ed1c8eafd554788d8e2ba09847b5718a34e7
mount -t tmpfs -o mpol=: check nodes online

Randy Dunlap reports that a tmpfs, mounted with NUMA mpol= specifying an
offline node, crashes as soon as data is allocated upon it.  Now restrict it
to online nodes, where before it restricted to MAX_NUMNODES.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Tested-and-acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/tmpfs.txt
mm/shmem.c