From: Dan Magenheimer Date: Wed, 25 Jan 2012 22:32:51 +0000 (-0800) Subject: zcache: fix deadlock condition X-Git-Tag: v3.3-rc4~40^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9256a4789be3dae37d00924c03546ba7958ea5a3;p=pandora-kernel.git zcache: fix deadlock condition I discovered this deadlock condition awhile ago working on RAMster but it affects zcache as well. The list spinlock must be locked prior to the page spinlock and released after. As a result, the page copy must also be done while the locks are held. Applies to 3.2. Konrad, please push (via GregKH?)... this is definitely a bug fix so need not be pushed during a -rc0 window. Signed-off-by: Dan Magenheimer Acked-by: Konrad Rzeszutek Wilk Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed