From: Lucas De Marchi Date: Thu, 9 Jul 2009 11:57:20 +0000 (+0200) Subject: sched: Reset sched stats on fork() X-Git-Tag: v2.6.31-rc4~36^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7793527b90d9418211f4fe8464cc1dcb1631ea1b;p=pandora-kernel.git sched: Reset sched stats on fork() The sched_stat fields are currently not reset upon fork. Ingo's recent commit 6c594c21fcb02c662f11c97be4d7d2b73060a205 did reset nr_migrations, but it didn't reset any of the others. This patch resets all sched_stat fields on fork. Signed-off-by: Lucas De Marchi Signed-off-by: Peter Zijlstra LKML-Reference: <193b0f820907090457s7a3662f4gcdecdc22fcae857b@mail.gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed