Skip to content

Number of Tasks Resource controller

Chandra Seetharaman lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

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

Reviews trailers per patch

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

Read the v1 thread

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

Andrew,

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

on top of Resource Groups.

Please consider these for inclusion in -mm tree.
--
Patch descriptions:

1/6: numtasks_init

Hooks up with Resource Groups core by defining the basic alloc/free functions and registering the controller with the core.

2/6: numtasks_tasksupport

Adds task management support by defining a function to be called from fork() to see if the resource group is within its share allocation Sets interface to be called from core when a task is moved to a resource group.

3/6: numtasks_shares_n_stats

Sets interface to be called from core when a resource group's shares are changes or when stats are requested.

4/6: numtasks_config

Use module parameters to dynamically set the total numtasks and maximum forkrate allowed.

5/6: numtasks_forkrate

Adds support to control the forkrate in the system.

6/6: 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.
----------------------------------------------------------------------