From: Mel Gorman Date: Tue, 15 Dec 2009 01:59:56 +0000 (-0800) Subject: hugetlb: abort a hugepage pool resize if a signal is pending X-Git-Tag: v2.6.33-rc1~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=536240f2bde98216feac87b4891d19a536b8884a;p=pandora-kernel.git hugetlb: abort a hugepage pool resize if a signal is pending If a user asks for a hugepage pool resize but specified a large number, the machine can begin trashing. In response, they might hit ctrl-c but signals are ignored and the pool resize continues until it fails an allocation. This can take a considerable amount of time so this patch aborts a pool resize if a signal is pending. Suggested by Dave Hansen. Signed-off-by: Mel Gorman Cc: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed