Opened 15 years ago

Closed 15 years ago

#139 closed enhancement (fixed)

Tasks should be allocated from a dedicated slab allocator cache

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.2
Component: helenos/kernel/generic Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


The tasks management code could make use of the benefits offered by the slab allocator and allocate the task structures from a dedicated cache instead of malloc()'ing them. The most visible benefit would be the reuse of deallocated, but already initialized task structures trhough the use of constructor and destructor functions.

Change History (1)

comment:1 by Jakub Jermář, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset:head,152.

As a further improvement in this area, an empty 'futexes' B+tree could be retained for constructed and task_destroy()'ed, but not yet destructed task_t instances.

Note: See TracTickets for help on using tickets.