Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755114Ab0K2Qoj (ORCPT ); Mon, 29 Nov 2010 11:44:39 -0500 Received: from mtagate7.uk.ibm.com ([194.196.100.167]:42725 "EHLO mtagate7.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752524Ab0K2Qoh (ORCPT ); Mon, 29 Nov 2010 11:44:37 -0500 Message-Id: <20101129164237.522034198@linux.vnet.ibm.com> User-Agent: quilt/0.48-1 Date: Mon, 29 Nov 2010 17:42:37 +0100 From: Michael Holzheu To: Oleg Nesterov , Shailabh Nagar , Andrew Morton , Peter Zijlstra , John stultz , Thomas Gleixner , Balbir Singh , Martin Schwidefsky , Heiko Carstens , Roland McGrath , Valdis.Kletnieks@vt.edu Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [patch v2 0/4] taskstats: Improve cumulative time accounting Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1221 Lines: 30 Version 2 --------- * Integrate review comments (see change log of single patches) * Add sysctl to switch to new behavior instead of adding the additional cdata_acct to struct signal (see patch 3) Due to POSIX POSIX.1-2001, the CPU time of processes is not accounted to the cumulative time of the parents, if the parents ignore SIGCHLD or have set SA_NOCLDWAIT. This behaviour has the major drawback that it is not possible to calculate all consumed CPU time of a system by looking at the current tasks. CPU time can be lost. This patch series adds a new sysctl "full_cdata" that allows to switch the kernel to a mode where also the missing data is accounted to the cumulative counters. PATCH SET OVERVIEW ------------------ Patches apply on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git [1] Introduce "struct cdata" [2] Introduce __account_cdata() function [3] Introduce kernel.full_cdata sysctl [4] Export "cdata_wait" CPU times with taskstats -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/