Changeset b15e534 in mainline


Ignore:
Timestamp:
2025-03-06T18:16:31Z (2 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
4d30c475
Parents:
0fcb011
Message:

hr/fge.c: add some comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/fge.c

    r0fcb011 rb15e534  
    115115    size_t wu_storage_size)
    116116{
     117        /* TODO: allow wu_storage_size to be 0 (we want to save mem) */
    117118        assert(max_wus > 0 && wu_storage_size > 0);
    118119
     
    189190        assert(wu_cnt > 0);
    190191
     192        /*
     193         * XXX: we can also get rid of this malloc() call,
     194         * somewhat...
     195         *
     196         * Have some fgroups also pre-allocated for maximum
     197         * pre-allocation power :-)
     198         */
    191199        hr_fgroup_t *result = malloc(sizeof(hr_fgroup_t));
    192200        if (result == NULL)
Note: See TracChangeset for help on using the changeset viewer.