Changeset abf6c01 in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2018-11-09T22:03:24Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
436a0a5
Parents:
ba9a150
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-08 17:00:46)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:03:24)
Message:

Add FRAME_ATOMIC to some allocations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rba9a150 rabf6c01  
    199199task_t *task_create(as_t *as, const char *name)
    200200{
    201         task_t *task = (task_t *) slab_alloc(task_cache, 0);
    202         if (task == NULL) {
     201        task_t *task = (task_t *) slab_alloc(task_cache, FRAME_ATOMIC);
     202        if (!task)
    203203                return NULL;
    204         }
    205204
    206205        task_create_arch(task);
Note: See TracChangeset for help on using the changeset viewer.