From: Tetsuo Handa Date: Wed, 5 May 2010 15:18:15 +0000 (+0900) Subject: TOMOYO: Use mutex_lock_interruptible. X-Git-Tag: v2.6.35-rc1~488^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=292823814261e085cdcef06b6b691e6c2563fbd4;p=pandora-kernel.git TOMOYO: Use mutex_lock_interruptible. Some of TOMOYO's functions may sleep after mutex_lock(). If OOM-killer selected a process which is waiting at mutex_lock(), the to-be-killed process can't be killed. Thus, replace mutex_lock() with mutex_lock_interruptible() so that the to-be-killed process can immediately return from TOMOYO's functions. Signed-off-by: Tetsuo Handa Signed-off-by: James Morris --- Reading git-diff-tree failed