Gregory Nutt
|
45b8e3ce7f
sched/wqueue: Update to Apache 2.0 headers.
|
4 年之前 |
Gregory Nutt
|
4cb61bd8c2
sched/wqueue: Notifier design cleanup. The original concept used pre-allocated notification data structures. However, the notification dat must persist for an indeterminate amount of time. So the design was modified to use dynamically allocted data structures. This commit simplifies the design by removed some residual 'machinery' that is no longer needed.
|
6 年之前 |
Gregory Nutt
|
9d3148406c
Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue.
|
6 年之前 |
Gregory Nutt
|
cf59a195ba
User-mode work queue logic should not disable interrupts
|
10 年之前 |
Gregory Nutt
|
1afc9773ac
Decoupling work queue data structures. This is part of the preparation to support multiple low-priority worker threads
|
10 年之前 |
Gregory Nutt
|
6220256a09
Repartition work queue code. Move kernel-specific parts from libc/wqueue to sched/wqueue
|
10 年之前 |
Gregory Nutt
|
d7843c8e24
Add support for priority inheritance on the low priority worker queue
|
10 年之前 |