OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/1, v6] cgroup/freezer: add per freezer duty ratio control
[PATCH 0/1, v6] cgroup/freezer: add per freezer duty ratio control [message #42063] Wed, 09 February 2011 01:05
jacob.jun.pan is currently offline  jacob.jun.pan
Messages: 40
Registered: December 2010
Member
From: *parallels.com
From: Jacob Pan <jacob.jun.pan@linux.intel.com>

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

Changelog:
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

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

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containe rs
Previous Topic: [PATCH 1/1, v5] cgroup/freezer: add per freezer duty ratio control
Next Topic: [PATCH 1/1, v6] cgroup/freezer: add per freezer duty ratio control
Goto Forum:
  


Current Time: Sun Jul 15 21:04:51 GMT 2018