Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755721Ab1CBQkH (ORCPT ); Wed, 2 Mar 2011 11:40:07 -0500 Received: from shutemov.name ([188.40.19.243]:37842 "EHLO shutemov.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753457Ab1CBQkF (ORCPT ); Wed, 2 Mar 2011 11:40:05 -0500 From: "Kirill A. Shutsemov" To: Paul Menage , Li Zefan Cc: containers@lists.linux-foundation.org, jacob.jun.pan@linux.intel.com, Arjan van de Ven , linux-kernel@vger.kernel.org, Matt Helsley , Andrew Morton , linux-api@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH, v7] Introduce timer slack controller Date: Wed, 2 Mar 2011 18:40:00 +0200 Message-Id: <1299084001-3916-1-git-send-email-kirill@shutemov.name> X-Mailer: git-send-email 1.7.2.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1649 Lines: 52 From: Kirill A. Shutemov Changelog: v7: - totally reworked interface and rewritten from scratch (See Documentation/cgroups/timer_slack.txt for more information) v6: - add documentation - use notifier_call_chain() instead of check hook - fix validate_change() - cleanup v5: - -EBUSY on writing to timer_slack.min_slack_ns/max_slack_ns if a child has wider min-max range v4: - hierarchy support - drop dummy_timer_slack_check() - workaround lockdep false (?) positive - allow 0 as timer slack value v3: - rework interface - s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/ v2: - fixed with CONFIG_CGROUP_TIMER_SLACK=y v1: - initial revision Kirill A. Shutemov (1): cgroups: introduce timer slack controller Documentation/cgroups/timer_slack.txt | 66 ++++++++++++++++++++ fs/select.c | 7 +-- include/linux/cgroup_subsys.h | 6 ++ include/linux/sched.h | 9 +++ init/Kconfig | 8 +++ kernel/Makefile | 1 + kernel/cgroup_timer_slack.c | 107 +++++++++++++++++++++++++++++++++ kernel/futex.c | 4 +- kernel/hrtimer.c | 2 +- 9 files changed, 202 insertions(+), 8 deletions(-) create mode 100644 Documentation/cgroups/timer_slack.txt create mode 100644 kernel/cgroup_timer_slack.c -- 1.7.4.1 -- 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/