[PATCH] uml: memory hotplug cleanups
authorJeff Dike <jdike@addtoit.com>
Tue, 11 Apr 2006 05:53:28 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:35 +0000 (06:18 -0700)
commit60baa1583959e8b15e2823ef9e1cc00fd7ea929c
tree2d46837ed217d829e87f5d963b8d2a5205b24ae2
parent7b04d7170e9af805cac19f97b28fff10db897893
[PATCH] uml: memory hotplug cleanups

Change memory hotplug to use GFP_NOWAIT instead of GFP_ATOMIC, so that it
will grab memory without sleeping, but doesn't try to use the emergency
pools.

A small list initialization suggested by Daniel Phillips - don't initialize
lists which are just about to be list_add-ed.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/mconsole_kern.c