This allows us to, for example, NOTE_TRIGGER or EV_{EN,DIS}ABLE events without overwriting the stashed pointer.
Details
Details
- Reviewers
jhb domagoj.stolfa_gmail.com - Commits
- rG0321a7990b27: kqueue: Add EV_KEEPUDATA flag
Manual verification of EV_KEEPUDATA behavior, new test functions
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I've been using this locally and found it *extremely* useful, and frankly was quite surprised when I found out that EV_ENABLE/EV_DISABLE trashed udata originally.
Comment Actions
I think the only thing that would be nice to add in addition are some tests for this. Probably best for that to add a new "native" test binary in tests/sys/kqueue instead of shoe-horning this into the NetBSD tests.
Comment Actions
@jhb Any chance you could push this? I've been using this for months and it's worked well for me.