Add the 'current_kthread' helper
[akaros.git] / kern / include / ros / ceq.h
index fa23e7e..4dce3de 100644 (file)
@@ -69,6 +69,7 @@ struct ceq {
        struct ceq_event                        *events;                /* consumer pointer */
        unsigned int                            nr_events;
        unsigned int                            last_recovered;
+       atomic_t                                        max_event_ever;
        int32_t                                         *ring;                  /* consumer pointer */
        uint32_t                                        ring_sz;                /* size (power of 2) */
        uint8_t                                         operation;              /* e.g. CEQ_OR */