From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756080Ab1BIAvz (ORCPT ); Tue, 8 Feb 2011 19:51:55 -0500 Received: from mga09.intel.com ([134.134.136.24]:53796 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755036Ab1BIAvy (ORCPT ); Tue, 8 Feb 2011 19:51:54 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,444,1291622400"; d="scan'208";a="600778101" From: jacob.jun.pan@linux.intel.com To: LKML , "Kirill A. Shutemov" , Arjan van de Ven , Matt Helsley , container cgroup , Li Zefan , Paul Menage , akpm@linux-foundation.org, rdunlap@xenotime.net, Cedric Le Goater Cc: Jacob Pan Subject: [PATCH 0/1, v5] cgroup/freezer: add per freezer duty ratio control Date: Tue, 8 Feb 2011 16:49:35 -0800 Message-Id: <1297212575-17630-1-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jacob Pan Fixing subject in cover letter, should be v4 instead of v3 Changelog: v5: - improve error handling in duty ratio/ period writes - fix the logic to avoid kthread creation when ratio and period are invalid. - 100% frozen is not permitted in duty ratio set up v4: - limit kthread creation only when valid duty ratio parameters are given. - changed period back to milisecond - consolidated paramter write functions v3: - added documentation v2: - use read_u64/write_u64 instead of string read/write - use period in second instead of ms - renamed duty_ratio to duty_ratio_pct, be more specific - removed locking around period and duty_ratio reads Jacob Pan (1): cgroup/freezer: add per freezer duty ratio control Documentation/cgroups/freezer-subsystem.txt | 23 ++++++ kernel/cgroup_freezer.c | 109 ++++++++++++++++++++++++++- 2 files changed, 130 insertions(+), 2 deletions(-)