From: Paolo 'Blaisorblade' Giarrusso Date: Thu, 19 Jan 2006 01:42:58 +0000 (-0800) Subject: [PATCH] uml: avoid malloc to sleep in atomic sections X-Git-Tag: v2.6.16-rc2~319 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63162939cd797c8269964ce856ed1f2fec5f70e;p=pandora-kernel.git [PATCH] uml: avoid malloc to sleep in atomic sections Ugly trick to help make malloc not sleeping - we can't do anything else. But this is not yet optimal, since spinlock don't trigger in_atomic() when preemption is disabled. Also, even if ugly, this was already used in one place, and was even more bogus. Fix it. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed