summaryrefslogtreecommitdiff
path: root/kern/work.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-06-17 23:30:24 +0200
committerRichard Braun <rbraun@sceen.net>2014-06-17 23:30:24 +0200
commitbbbc53a1f0893703d1a5cc0293f6bc5ae6181fea (patch)
tree0560467446ddd2718d62fffe3681f29e56f7c865 /kern/work.h
parent718be3a92dd91dacaf7f629561aac62eacb9744e (diff)
kern/work: per-processor work pools
Diffstat (limited to 'kern/work.h')
-rw-r--r--kern/work.h10
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 */