diff options
author | Neal H. Walfield <neal@gnu.org> | 2009-01-20 05:41:02 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2009-01-20 05:41:02 +0100 |
commit | f4564ac4bbbebda206f76f8362cce14be86d77ec (patch) | |
tree | d926023dd084101aaf3f83ba5de59a1db98c8f89 /viengoos | |
parent | 10a8ba16b741c97bbe0a54c10e5eea964296db65 (diff) |
Update the type of some of struct activity's fields.
2009-01-20 Neal H. Walfield <neal@gnu.org>
* activity.h (struct activity): Change free_bad_karma, free_goal,
free_allocations, free_initial_allocation, and frames_excluded
types' to uint32_t.
Diffstat (limited to 'viengoos')
-rw-r--r-- | viengoos/ChangeLog | 6 | ||||
-rw-r--r-- | viengoos/activity.h | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/viengoos/ChangeLog b/viengoos/ChangeLog index 05b3514..c174a28 100644 --- a/viengoos/ChangeLog +++ b/viengoos/ChangeLog @@ -1,5 +1,11 @@ 2009-01-20 Neal H. Walfield <neal@gnu.org> + * activity.h (struct activity): Change free_bad_karma, free_goal, + free_allocations, free_initial_allocation, and frames_excluded + types' to uint32_t. + +2009-01-20 Neal H. Walfield <neal@gnu.org> + * memory.c [USE_L4]: Only include <l4.h> and "sigma0.h" in this case. * object.c [USE_L4]: Only include <l4.h> in this case. diff --git a/viengoos/activity.h b/viengoos/activity.h index 3140a84..1507411 100644 --- a/viengoos/activity.h +++ b/viengoos/activity.h @@ -122,13 +122,13 @@ struct activity simply start evicting. We also set its free bad karma. Each time it is choosen for deallocation, we decrement it. Only when FREE_BAD_KARMA is again zero do we give it this chance again. */ - uintptr_t free_bad_karma; - uintptr_t free_goal; - uintptr_t free_allocations; - uintptr_t free_initial_allocation; + uint32_t free_bad_karma; + uint32_t free_goal; + uint32_t free_allocations; + uint32_t free_initial_allocation; /* The number of pages that are to be excluded from FRAMES_TOTAL when looking for a process to page. */ - uintptr_t frames_excluded; + uint32_t frames_excluded; struct vg_object_name name; }; |