1 |
|
2005-01-06 Neal H. Walfield <neal@gnu.org> |
2 |
|
|
3 |
|
* slab.h (hurd_slab_allocate_buffer_t): New type. |
4 |
|
(hurd_slab_deallocate_buffer_t): Likewise. |
5 |
|
(struct hurd_slab_space): New fields allocate_buffer and |
6 |
|
deallocate_buffer. |
7 |
|
(HURD_SLAB_SPACE_INITIALIZER): Add new arguments ALLOC and DEALLOC |
8 |
|
and take them into account when creating the slab. |
9 |
|
(hurd_slab_create): New parameters ALLOCATE_BUFFER and |
10 |
|
DEALLOCATE_BUFFER. |
11 |
|
(hurd_slab_init): Likewise. |
12 |
|
|
13 |
|
* slab.c (allocate_buffer): New function. |
14 |
|
(deallocate_buffer): Likewise. |
15 |
|
(reap): When deallocating a buffer, use allocate_buffer. |
16 |
|
(grow): When allocating or deallocating a buffer, call |
17 |
|
allocate_buffer or deallocate_buffer as appropriate. |
18 |
|
(hurd_slab_init): Add new arguments ALLOCATE_BUFFER and |
19 |
|
DEALLOCATE_BUFFER and take them into account when setting up |
20 |
|
SPACE. |
21 |
|
(hurd_slab_create): Likewise. |
22 |
|
|
23 |
2004-11-01 Marcus Brinkmann <marcus@gnu.org> |
2004-11-01 Marcus Brinkmann <marcus@gnu.org> |
24 |
|
|
25 |
* slab.c (hurd_slab_destroy): Remove unused variable PREVP. |
* slab.c (hurd_slab_destroy): Remove unused variable PREVP. |