From: Peter Zijlstra Date: Wed, 30 Jul 2008 11:26:57 +0000 (+0200) Subject: lockdep: change scheduler annotation X-Git-Tag: v2.6.27-rc3~50^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e710e37bde120bb069f691bee68e69ef4393173;p=pandora-kernel.git lockdep: change scheduler annotation While thinking about David's graph walk lockdep patch it _finally_ dawned on me that there is no reason we have a lock class per cpu ... Sorry for being dense :-/ The below changes the annotation from a lock class per cpu, to a single nested lock, as the scheduler never holds more that 2 rq locks at a time anyway. If there was code requiring holding all rq locks this would not work and the original annotation would be the only option, but that not being the case, this is a much lighter one. Compiles and boots on a 2-way x86_64. Signed-off-by: Peter Zijlstra Cc: David Miller Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed