From: Gerald Schaefer Date: Thu, 23 Apr 2009 11:58:07 +0000 (+0200) Subject: [S390] appldata: avoid deadlock with appldata_mem X-Git-Tag: v2.6.30-rc4~57^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1ad171efa089ae26aba750d747d8149a4f860d5;p=pandora-kernel.git [S390] appldata: avoid deadlock with appldata_mem The appldata_ops callbacks are called with a spin_lock held. But the appldata_mem callback then calls all_vm_events(), which calls get_online_cpus(), which might sleep. This possible deadlock is fixed by using a mutex instead of a spin_lock. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed