summaryrefslogtreecommitdiff
path: root/viengoos/activity.c
diff options
context:
space:
mode:
authorneal <neal>2007-12-11 23:35:03 +0000
committerneal <neal>2007-12-11 23:35:03 +0000
commitdbcabeac4e8233e2bae5d8bdc89a96c051d8d7b8 (patch)
tree67a5d65867ac94a337ae2e9f4658e185cac82b63 /viengoos/activity.c
parentb1adfc140c8106e72b1d5320cc0c9408a4123d79 (diff)
2007-12-12 Neal H. Walfield <neal@gnu.org>
* activity.h: Update comment. * activity.c (activity_consistency_check_): Don't assert that LRU_LOCK is held. * object.h (object_disown_simple): Don't call activity_consistency_check here. (object_desc_disown_): Likewise. (object_desc_claim_): Likewise. (object_desc_claim_): Likewise. * object.c (memory_object_alloc): Call activity_consistency_check. (memory_object_destroy): Likewise. (object_find_soft): Likewise. (folio_free): Likewise. (folio_object_alloc): Likewise.
Diffstat (limited to 'viengoos/activity.c')
-rw-r--r--viengoos/activity.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/viengoos/activity.c b/viengoos/activity.c
index ff9b54c..7154e38 100644
--- a/viengoos/activity.c
+++ b/viengoos/activity.c
@@ -233,8 +233,6 @@ activity_consistency_check_ (const char *func, int line,
/* The number of objects on the active and inactive lists plus the
objects owned by the descendents must equal activity->frames. */
- assert (! ss_mutex_trylock (&lru_lock));
-
int active = 0;
struct object_desc *d;
for (d = activity->active; d; d = d->activity_lru.next)