summaryrefslogtreecommitdiff
path: root/viengoos/rm.h
diff options
context:
space:
mode:
authorneal <neal>2008-01-01 12:12:20 +0000
committerneal <neal>2008-01-01 12:12:20 +0000
commitaa02670659f00f8a13733cb473113133896679f1 (patch)
treee5863683a9b6c6990d352441df38f870f7ca7473 /viengoos/rm.h
parent91d93820b7d513cfbcc3fe942edfa462d190b66e (diff)
libhurd-mm/
2008-01-01 Neal H. Walfield <neal@gnu.org> * activity.h (RM_activity_properties): Rename... (RM_activity_policy): ... to this. Update users. (struct activity_memory_policy): New structure. (ACTIVITY_MEMORY_POLICY): New definition. (ACTIVITY_MEMORY_POLICY_VOID): Likewise. (struct activity_policy): New structure. (ACTIVITY_POLICY): New definition. (ACTIVITY_POLICY_VOID): Likewise. (ACTIVITY_PROPERTIES_PRIORITY_SET): Rename... (ACTIVITY_POLICY_SIBLING_REL_PRIORITY_SET): ... to this. Update users. (ACTIVITY_PROPERTIES_WEIGHT_SET): Rename... (ACTIVITY_POLICY_SIBLING_REL_WEIGHT_SET): ... to this. Update users. (ACTIVITY_PROPERTIES_STORAGE_QUOTA_SET): Rename... (ACTIVITY_POLICY_STORAGE_SET): ... to this. Update users. (ACTIVITY_PROPERTIES_ALL_SET): Rename... (ACTIVITY_POLICY_SIBLING_REL_SET): ... to this. (ACTIVITY_POLICY_CHILD_REL_PRIORITY_SET): New definition. (ACTIVITY_POLICY_CHILD_REL_WEIGHT_SET): Likewise. (ACTIVITY_POLICY_CHILD_REL_SET): Likewise. (activity_properties): Rename... (activity_policy): ... to this. Accept a structure rather than individual variables. Update callers. viengoos/ 2008-01-01 Neal H. Walfield <neal@gnu.org> * activity.h: Don't include <l4.h>, <errno.h> or <hurd/btree.h>. Include <hurd/activity.h>. (struct activity): Remove fields priority, weight and storage_quota. Replace with policy. Change folio_count to a uint32_t. Update users. * server.c (server_loop): Remove activity_properties implementation. Add activity_policy implementation. * rm.h (rm_method_id_string): Remove RM_activity_properties case. Handle RM_activity_policy. ruth/ 2008-01-01 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Remove activity_properties test. Replace with activity_policy test.
Diffstat (limited to 'viengoos/rm.h')
-rw-r--r--viengoos/rm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/viengoos/rm.h b/viengoos/rm.h
index d1ba9c0..19bea4d 100644
--- a/viengoos/rm.h
+++ b/viengoos/rm.h
@@ -1,5 +1,5 @@
/* rm.h - Resource manager interface.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007, 2008 Free Software Foundation, Inc.
Written by Neal H. Walfield <neal@gnu.org>.
This file is part of the GNU Hurd.
@@ -62,8 +62,8 @@ rm_method_id_string (int id)
return "exception_collect";
case RM_thread_exregs:
return "thread_exregs";
- case RM_activity_properties:
- return "activity_properties";
+ case RM_activity_policy:
+ return "activity_policy";
default:
return "unknown method id";
}