plain text document attachment (26.ckrm-ce-config.patch)
Patch: 26.ckrm-ce-config.patch
Description:
Make the configuration interface more accurately reflect the relationship
between RBCE and CRBCE. Only the following 4 configurations are allowed:
| CONFIG_RBCE | CONFIG_CRBCE |
--+-------------+--------------|
1 | m | m |
2 | y | n |
3 | n | y |
4 | n | n |
Signed-Off-By: Matt Helsley <[EMAIL PROTECTED]>
---------------------------------------------------------------------
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/01/24 10:05:18-05:00 [EMAIL PROTECTED]
# 26.ckrm-ce-config.patch
#
# init/Kconfig
# 2005/01/24 10:04:59-05:00 [EMAIL PROTECTED] +37 -17
# Import patch 26.ckrm-ce-config.patch
#
Index: linux-2.6.12-rc3/init/Kconfig
===================================================================
--- linux-2.6.12-rc3.orig/init/Kconfig 2005-05-20 23:09:25.247601744 -0700
+++ linux-2.6.12-rc3/init/Kconfig 2005-05-20 23:14:53.215743008 -0700
@@ -202,33 +202,48 @@ config CKRM_RES_NUMTASKS
tasks a task class can have.
Say N if unsure, Y to use the feature.
+choice
+ prompt "Classification Engine"
+ depends on CKRM && RCFS_FS
+ default CKRM_RBCE
+ optional
+ help
+ Select a classification engine (CE) that assists in
+ automatic classification of kernel objects managed by CKRM when
+ they are created. Without a CE, a user must manually
+ classify objects into classes. Processes inherit their parent's
+ classification.
+
+ Only one engine can be built into the kernel though all can be
+ built as modules (only one will load).
+
+ Classification engines are optional component of CKRM.
+ If unsure, say N.
+
config CKRM_RBCE
- tristate "Vanilla Rule-based Classification Engine (RBCE)"
- depends on CKRM && RCFS_FS && CKRM_CRBCE != y
- default m
- help
- Provides an optional module to support creation of rules for automatic
- classification of kernel objects. Rules are created/deleted/modified
- through an rcfs interface. RBCE is not required for CKRM.
-
- If unsure, say N.
-
+ tristate "Rule-based Classification Engine (RBCE)"
+ help
+ Vanilla Rule-based Classification Engine (RBCE). Rules for
+ classifying kernel objects are created/deleted/modified through
+ a RCFS directory using a filesystem interface.
+
config CKRM_CRBCE
- tristate "Enhanced Rule-based Classification Engine (RBCE)"
- depends on CKRM && RCFS_FS && DELAY_ACCT && CKRM_RBCE != y && NET
- default m
- help
- Provides an optional module to support creation of rules for automatic
- classification of kernel objects, just like RBCE above. In addition,
- CRBCE provides per-process delay data (requires DELAY_ACCT configured)
- enabled) and makes information on significant kernel events available
- to userspace tools through netlink.
-
- If unsure, say N.
+ tristate "Enhanced Rule-based Classification Engine (CRBCE)"
+ depends on DELAY_ACCT && NET
+ help
+ Enhanced Rule-based Classification Engine (CRBCE). Like the Vanilla
+ RBCE, rules for classifying kernel objects are created, deleted and
+ modified through a RCFS directory using a filesystem interface
+ (requires CKRM_RCFS configured).
+
+ In addition, CRBCE provides per-process delay data
+ (requires DELAY_ACCT configured) and makes information on significant
+ kernel events available to userspace tools through netlink.
+endchoice
endmenu
config SYSCTL
bool "Sysctl support"
---help---
--
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech