Changeset e394c196 in mainline for kernel/generic/src/ipc/ipcrsc.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/ipcrsc.c

    r15639ec re394c196  
    7676                        return ENOMEM;
    7777                }
    78                 kobject_t *kobj = malloc(sizeof(kobject_t));
     78                kobject_t *kobj = kobject_alloc(FRAME_ATOMIC);
    7979                if (!kobj) {
    8080                        cap_free(TASK, handle);
Note: See TracChangeset for help on using the changeset viewer.