Skip to content

runtime: use EVFILT_USER to wake up kevent where available #66760

Closed
@panjf2000

Description

@panjf2000

OSX 10.6, FreeBSD 8.1, DragonFlyBSD 4.0, and NetBSD 10.0 added EVFILT_USER for user-established events. By utilizing EVFILT_USER, we'd be able to eliminate the kernel overhead of the pipe and gain a worthwhile performance boost for the notification mechanism of kqueue-based netpoller.

See also #65443

@golang/runtime

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions