diff options
author | Richard Braun <rbraun@sceen.net> | 2014-06-17 23:30:24 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-06-17 23:30:24 +0200 |
commit | bbbc53a1f0893703d1a5cc0293f6bc5ae6181fea (patch) | |
tree | 0560467446ddd2718d62fffe3681f29e56f7c865 /kern/work.h | |
parent | 718be3a92dd91dacaf7f629561aac62eacb9744e (diff) |
kern/work: per-processor work pools
Diffstat (limited to 'kern/work.h')
-rw-r--r-- | kern/work.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kern/work.h b/kern/work.h index b3668df..fb22db9 100644 --- a/kern/work.h +++ b/kern/work.h @@ -143,4 +143,14 @@ void work_setup(void); void work_schedule(struct work *work, int flags); void work_queue_schedule(struct work_queue *queue, int flags); +/* + * Report a periodic event (normally the periodic timer interrupt) on the + * current processor. + * + * Periodic events are used internally for optimizations. + * + * Interrupts and preemption must be disabled when calling this function. + */ +void work_report_periodic_event(void); + #endif /* _KERN_WORK_H */ |