Page MenuHomeFreeBSD

eventfd: Add eventfd_signal()
Needs ReviewPublic

Authored by dumbbell on Jun 14 2025, 5:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 24, 11:21 AM
Unknown Object (File)
Sun, Jul 20, 4:26 PM
Unknown Object (File)
Sat, Jul 19, 4:28 AM
Unknown Object (File)
Sun, Jul 13, 7:04 PM
Unknown Object (File)
Sun, Jul 13, 11:27 AM
Unknown Object (File)
Wed, Jul 9, 9:54 PM
Unknown Object (File)
Sun, Jul 6, 2:31 PM
Unknown Object (File)
Sat, Jul 5, 1:43 PM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
Summary

The eventfd_signal() function is the equivalent to a write to an eventfd file descriptor: it bumps the internal counter and wakes up processes waiting for it.

eventfd_signal() is meant to be used by kernel drivers. DRM drivers will call it through linuxkpi.

This is a requirement to the following patch to drm-kmod:
https://github.com/freebsd/drm-kmod/pull/358

Sponsored by: The FreeBSD Foundation

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped