From: Peter Zijlstra Date: Mon, 25 May 2009 12:45:27 +0000 (+0200) Subject: perf_counter: Propagate inheritance failures down the fork() path X-Git-Tag: v2.6.31-rc1~383^2~228 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab423e0eaca827fbd201ca4ae7d4f8573a366b2;p=pandora-kernel.git perf_counter: Propagate inheritance failures down the fork() path Fail fork() when we fail inheritance for some reason (-ENOMEM most likely). Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: <20090525124600.324656474@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed