Changeset e394c196 in mainline for kernel/generic/src/ipc/ipc.c


Ignore:
Timestamp:
2018-11-12T20:53:57Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
705ca2b
Parents:
15639ec
git-author:
Jakub Jermar <jakub@…> (2018-08-28 19:55:29)
git-committer:
Jakub Jermar <jakub@…> (2018-11-12 20:53:57)
Message:

Use a dedicated cache for instances of kobject_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ipc.c

    r15639ec re394c196  
    120120                return NULL;
    121121
    122         kobject_t *kobj = (kobject_t *) malloc(sizeof(kobject_t));
     122        kobject_t *kobj = kobject_alloc(0);
    123123        if (!kobj) {
    124124                slab_free(call_cache, call);
Note: See TracChangeset for help on using the changeset viewer.