diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-11-04 15:56:05 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-11-04 15:56:05 +0100 |
commit | b3c92f167f20f1267c6b4ec83f1b6b6edd2ba85a (patch) | |
tree | 97b731a8a48b4ba3252974e1350f5388da9172be /benchmarks | |
parent | 6a9f48779cf4037ff4a6ffe4c29d0bd13df0b66a (diff) |
Return the number of priority bits to 7.
hurd/
2008-11-04 Neal H. Walfield <neal@gnu.org>
* cap.h (OBJECT_PRIORITY_BITS): Change to 7.
(OBJECT_PRIORITY_LEVELS): Define.
(OBJECT_PRIORITY_LRU): Don't define. Update users.
(struct object_policy): Remove field pad0. Change to a uint8_t.
(OBJECT_POLICY): Update.
ruth/
2008-11-04 Neal H. Walfield <neal@gnu.org>
* ruth.c (main): Use OBJECT_PRIORITY_DEFAULT, not
OBJECT_PRIORITY_LRU.
benchmarks/
2008-11-04 Neal H. Walfield <neal@gnu.org>
* activity-distribution.c (main): Use OBJECT_PRIORITY_DEFAULT, not
OBJECT_PRIORITY_LRU.
* GCbench.c (helper): Likewise.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/ChangeLog | 6 | ||||
-rw-r--r-- | benchmarks/GCbench.c | 2 | ||||
-rw-r--r-- | benchmarks/activity-distribution.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/benchmarks/ChangeLog b/benchmarks/ChangeLog index 98f58f4..9c120db 100644 --- a/benchmarks/ChangeLog +++ b/benchmarks/ChangeLog @@ -1,3 +1,9 @@ +2008-11-04 Neal H. Walfield <neal@gnu.org> + + * activity-distribution.c (main): Use OBJECT_PRIORITY_DEFAULT, not + OBJECT_PRIORITY_LRU. + * GCbench.c (helper): Likewise. + 2008-06-27 Neal H. Walfield <neal@gnu.org> * shared-memory-distribution.c (main): Update to use activity_info diff --git a/benchmarks/GCbench.c b/benchmarks/GCbench.c index ab05665..1b786be 100644 --- a/benchmarks/GCbench.c +++ b/benchmarks/GCbench.c @@ -176,7 +176,7 @@ helper (void *arg) { pagers[c] = anonymous_pager_alloc (hog_activity, NULL, s, MAP_ACCESS_ALL, - OBJECT_POLICY (false, OBJECT_PRIORITY_LRU), 0, + OBJECT_POLICY (false, OBJECT_PRIORITY_DEFAULT), 0, NULL, &buffers[c]); assert (pagers[c]); assert (buffers[c]); diff --git a/benchmarks/activity-distribution.c b/benchmarks/activity-distribution.c index cffc288..966d8af 100644 --- a/benchmarks/activity-distribution.c +++ b/benchmarks/activity-distribution.c @@ -113,7 +113,7 @@ main (int argc, char *argv[]) pagers[i] = anonymous_pager_alloc (ADDR_VOID, NULL, SIZE, MAP_ACCESS_ALL, OBJECT_POLICY (true, - OBJECT_PRIORITY_LRU), + OBJECT_PRIORITY_DEFAULT), 0, my_fill, &buffers[i]); assert (pagers[i]); assert (buffers[i]); |