From: Catalin Marinas Date: Thu, 27 Aug 2009 13:29:12 +0000 (+0100) Subject: kmemleak: Allow rescheduling during an object scanning X-Git-Tag: v2.6.32-rc1~735^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af98603dad87e393d2fc57117fe8a2aa6d620a0c;p=pandora-kernel.git kmemleak: Allow rescheduling during an object scanning If the object size is bigger than a predefined value (4K in this case), release the object lock during scanning and call cond_resched(). Re-acquire the lock after rescheduling and test whether the object is still valid. Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed