Resource Groups... formerly CKRM
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | Register/Unregister interface for Controllersinclude/ include/ init/ +4 more | +383 | 0 replies | |
| 2/12 | Resource group creation/deletioninclude/ include/ kernel/ +1 more | +176 | 0 replies | |
| 3/12 | Share Handlinginclude/ include/ kernel/ +3 more | +297 | 0 replies | |
| 4/12 | Add task logic to resource groupsinclude/ kernel/ kernel/ +2 more | +176 | 0 replies | |
| 5/12 | Init and clear resource group info in taskinclude/ init/ kernel/ +4 more | +77 | 0 replies | |
| 6/12 | Add proc interface to get resource group info of taskfs/ include/ kernel/ | +52 | 0 replies | |
| 7/12 | Resource Groups Configfs Subsystem (RGCS)init/ kernel/ kernel/ | +175 | 0 replies | |
| 8/12 | Add attribute support to RGCSkernel/ | +52 | 0 replies | |
| 9/12 | Add stats file support to RGCSkernel/ | +110 | 0 replies | |
| 10/12 | Add shares file support to RGCSkernel/ | +136 | 0 replies | |
| 11/12 | Add members file support to RGCSkernel/ | +49 | 0 replies | |
| 12/12 | Documentation for Resource GroupsDocumentation/ Documentation/ Documentation/ | +153 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/12] Resource Groups... formerly CKRM
Andrew,
CKRM has gone through a major overhaul by removing some of the complexity, cutting down on features and moving portions to userspace.
We have posted ckrm last week as an RFC:
infrastructure:
http://www.ussg.iu.edu/hypermail/linux/kernel/0604.2/1297.html numtasks controller: http://www.ussg.iu.edu/hypermail/linux/kernel/0604.2/1311.html CPU controller: http://www.ussg.iu.edu/hypermail/linux/kernel/0604.2/1310.html
Diffstat of this patchset (including the numtasks controller that follows) is:
23 files changed, 2466 insertions(+), 5 deletions(-)
including Documentaion and comments.
This patchset will be followed with two controllers:
- a simple controller, numtasks to control number of tasks
- CPU controller, to control CPU resource.
Please consider these for inclusion in -mm tree.
--
Changes since last post:
- CKRM has been replaced with Resource Groups
- 'class' has been replaced with resource group
- Limit the depth of the hierarchy.
---------
Patch Descriptions:
01/12 - controller_support
This patch defines data structures for defining a resource group and resource controller.
Provides register/unregister functions for a controller. Provides utility functions to get a controller's data structure.
02/12 - resource_group_support
Provides functions to alloc and free a user defined resource group. Provides utility macro to walk through the resource group hierarchy.
03/12 - shares_support
Provides functions to set/get shares of a specific resource of a resource group.
Defines a teardown function that is intended to be called when user disables resource group (by umount of the configfs component).
04/12 - tasksupport
Adds logic to support adding/removing task to/from a resource group Provides interface to set a task's resource group.
05/12 - tasksupport_fork_exit_init
Initializes and clears Resource Group specific information in a task at fork() and exit(). Inititalizes Resource Groups (called from start_kernel)
06/12: task_procsupport
Adds an interface in /proc to get the name of a resource group to which a task is attached.
07/12 - user_interface
Create the configfs component for managing Resource groups. Hooks up with configfs. Provides functions for creating and deleting resource groups.
08/12 - user_interface_attr_support
Adds the basic attribute store and show functions.
09/12 - user_interface_stats
Adds attr_store and attr_show support for stats file.
10/12 - user_interface_shares
Adds attr_store and attr_show support for shares file.
11/12 - user_interface_members
Adds attr_store and attr_show support for members file.
12/12 - res_groups_docs
Documentation describing important Resource Groups components such as resource group, shares, controllers, and the configfs based user interface. --
Thanks & Regards,
chandra
Signature · 4 lines
----------------------------------------------------------------------
Chandra Seetharaman | Be careful what you choose....
- [email protected] | .......you may get it.
----------------------------------------------------------------------