From: Jan Kara Date: Thu, 31 May 2012 22:42:06 +0000 (+0200) Subject: lib: Fix possible deadlock in flexible proportion code X-Git-Tag: v3.6-rc1~37^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78d4833c03e28205b3d983f0c4e586ee34785fd;p=pandora-kernel.git lib: Fix possible deadlock in flexible proportion code When percpu counter function in fprop_new_period() is interrupted by an interrupt while holding counter lock, it can cause deadlock when the interrupt wants to take the lock as well. Fix the problem by disabling interrupts when calling percpu counter functions. Signed-off-by: Jan Kara Signed-off-by: Fengguang Wu --- Reading git-diff-tree failed