Skip to content

RFC Number of Tasks Resource controller

[email protected] lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6numtasks - Initialization routinesinit/Kconfig kernel/ckrm/Makefile kernel/ckrm/ckrm_numtasks.c+101 -00 replies
2/6numtasks - Add task control supportinclude/linux/ckrm_tsk.h kernel/ckrm/ckrm_numtasks.c kernel/fork.c+137 -20 replies
3/6numtasks - Add shares and stats supportkernel/ckrm/ckrm_numtasks.c+134 -00 replies
4/6numtasks - Add configuration supportinclude/linux/moduleparam.h kernel/ckrm/ckrm_numtasks.c+70 -60 replies
5/6numtasks - Add fork rate control supportkernel/ckrm/ckrm_numtasks.c+75 -00 replies
6/6numtasks - Documentation for Numtasks controllerDocumentation/ckrm/numtasks+130 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC] [PATCH 0/6] Number of Tasks Resource controller

Numtasks controller is a simple resource controller that provides user the ability to
- control the number of tasks a class can have
- control the rate at which forks happen in the system

Patch descriptions:
1/6: ckrm_numtasks_init
- Hooks up with CKRM core by defining the basic alloc/free functions and registering the controller with the core.

2/6: ckrm_numtasks_tasksupport
- Adds task management support by defining a function to be called from fork() to see if the class is within its share allocation
- sets interface to be called from core when a class is moved to a class.

3/6: ckrm_numtasks_shares_n_stats
- sets interface to be called from core when a class's shares are changes or when stats are requested.

4/6: ckrm_numtasks_config
- Use module parameters to dynamically set the total numtasks and maximum forkrate allowed

5/6: ckrm_numtasks_forkrate
- Adds support to control the forkrate in the system.

6/6: ckrm_numtasks_docs
- Documents what the numtasks controller does and how to use it.

Signature · 4 lines
----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [email protected]   |      .......you may get it.
----------------------------------------------------------------------