Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 436a0a5 in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2018-11-09T22:04:01Z (3 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
95d45482
Parents:
88e43bc (diff), abf6c01 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

(merge) Reduce the number of blocking allocations in the kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r88e43bc r436a0a5  
    120120                thread = thread_create(kmp, NULL, TASK,
    121121                    THREAD_FLAG_UNCOUNTED, "kmp");
    122                 if (thread != NULL) {
    123                         thread_wire(thread, &cpus[0]);
    124                         thread_ready(thread);
    125                 } else
     122                if (!thread)
    126123                        panic("Unable to create kmp thread.");
    127124
     125                thread_wire(thread, &cpus[0]);
     126                thread_ready(thread);
    128127                thread_join(thread);
    129128                thread_detach(thread);
Note: See TracChangeset for help on using the changeset viewer.