summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-11-21 12:14:07 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-11-21 12:14:07 +0000
commitf96f2c5bbf52eab0424c7e8f0267980e509fcc17 (patch)
treeb0c0c3a27d32a53d1c9995a05b5ae199666ff0ba
parent0f219a97ca8cb0b8e2c85324e90c001f34c57359 (diff)
downloademacs-f96f2c5bbf52eab0424c7e8f0267980e509fcc17.tar.gz
Fix typos in comments.
-rw-r--r--src/ralloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ralloc.c b/src/ralloc.c
index 1c988283dbc..30ed888697f 100644
--- a/src/ralloc.c
+++ b/src/ralloc.c
@@ -177,9 +177,9 @@ static heap_ptr first_heap, last_heap;
b->data + b->size == b->next->data.
An element with variable==NIL denotes a freed block, which has not yet
- been collected. They may only appear while r_alloc_freeze > 0, and will be
- freed when the arena is thawed. Currently, these blocs are not reusable,
- while the arena is frozen. Very inefficient. */
+ been collected. They may only appear while r_alloc_freeze_level > 0,
+ and will be freed when the arena is thawed. Currently, these blocs are
+ not reusable, while the arena is frozen. Very inefficient. */
typedef struct bp
{
@@ -939,8 +939,8 @@ r_alloc_sbrk (size)
which will use the data area.
The allocation of 0 bytes is valid.
- In case r_alloc_freeze is set, a best fit of unused blocs could be done
- before allocating a new area. Not yet done.
+ In case r_alloc_freeze_level is set, a best fit of unused blocs could be
+ done before allocating a new area. Not yet done.
If we can't allocate the necessary memory, set *PTR to zero, and
return zero. */
@@ -996,7 +996,7 @@ r_alloc_free (ptr)
SIZE is less than or equal to the current bloc size, in which case
do nothing.
- In case r_alloc_freeze is set, a new bloc is allocated, and the
+ In case r_alloc_freeze_level is set, a new bloc is allocated, and the
memory copied to it. Not very efficient. We could traverse the
bloc_list for a best fit of free blocs first.