From: Thomas Gleixner Date: Wed, 24 Nov 2010 09:05:55 +0000 (+0100) Subject: perf: Fix inherit vs. context rotation bug X-Git-Tag: v2.6.37-rc4~12^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dddd3379a619a4cb8247bfd3c94ca9ae3797aa2e;p=pandora-kernel.git perf: Fix inherit vs. context rotation bug It was found that sometimes children of tasks with inherited events had one extra event. Eventually it turned out to be due to the list rotation no being exclusive with the list iteration in the inheritance code. Cure this by temporarily disabling the rotation while we inherit the events. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra LKML-Reference: Cc: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed