Skip to content

uloop: add ULOOP_PRIORITY support for EPOLLPRI events#41

Closed
MattCatz wants to merge 1 commit into
openwrt:masterfrom
MattCatz:EPOLLPRI
Closed

uloop: add ULOOP_PRIORITY support for EPOLLPRI events#41
MattCatz wants to merge 1 commit into
openwrt:masterfrom
MattCatz:EPOLLPRI

Conversation

@MattCatz

Copy link
Copy Markdown
Contributor

Add a new ULOOP_PRIORITY flag to enable subscription to and delivery of EPOLLPRI events from the Linux kernel.

These interfaces include:

  • /proc/pressure/{cpu,memory,io} — PSI threshold monitoring
  • /proc/mounts — mount/unmount change notifications
  • /proc/mdstat — software RAID state changes
  • sysfs attributes using sysfs_notify() (GPIO, hwmon, etc.)

This would be a linux only feature. ULOOP_PRIORITY is an alright name. If someone can think of something better let me know.

Add a new ULOOP_PRIORITY flag to enable subscription to and
delivery of EPOLLPRI events from the Linux kernel.

These interfaces include:

- /proc/pressure/{cpu,memory,io} — PSI threshold monitoring
- /proc/mounts — mount/unmount change notifications
- /proc/mdstat — software RAID state changes
- sysfs attributes using sysfs_notify() (GPIO, hwmon, etc.)

Signed-off-by: Matthew Cather <mattbob4@gmail.com>
@MattCatz

Copy link
Copy Markdown
Contributor Author

@cmonroe

@nbd168

nbd168 commented Mar 20, 2026

Copy link
Copy Markdown
Member

Applied with minor modifications, thanks.

@nbd168 nbd168 closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants