LKML Archive on
help / color / mirror / Atom feed
* [PATCH 0/1, v8] cgroup/freezer: add per freezer duty ratio control
@ 2011-02-11 20:22 jacob.jun.pan
  0 siblings, 0 replies; only message in thread
From: jacob.jun.pan @ 2011-02-11 20:22 UTC (permalink / raw)
  To: LKML, Kirill A. Shutemov, Arjan van de Ven, Matt Helsley,
	container cgroup, Li Zefan, Paul Menage, akpm, rdunlap,
	Cedric Le Goater
  Cc: Jacob Pan

From: Jacob Pan <>

Fixing subject in cover letter, should be v4 instead of v3

v8:	- minor clean up
v7:	- use delayed workqueue instead of per cgroup kernel thread
	  to manage toggling
	- make freezer.state higher priority than duty ratio setting
	- small correction in documentation

v6:	- remove check for duty ratio == 100 case
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

	- 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(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-11 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-11 20:22 [PATCH 0/1, v8] cgroup/freezer: add per freezer duty ratio control jacob.jun.pan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).