The NetBSD Project

CVS log for src/sys/kern/sys_timerfd.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / kern

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8.10.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:57:43 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +10 -5 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Dec 19 23:50:22 2024 UTC (22 months, 3 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, perseant-exfatfs-base-20250801, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
timerfd_settime(2): Return relative duration remaining.

Not absolute time of next event.

PR kern/58917: timer_settime and timerfd_settime return absolute time
of next event

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Dec 19 23:45:39 2024 UTC (22 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -3 lines
timerfd_settime(2): Sanitize inputs like timer_settime(2).

PR kern/58914: timerfd_settime(2) is missing itimespecfix

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Dec 18 16:01:28 2024 UTC (22 months, 4 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
timerfd(2): Do not claim writable.

Writes will fail with EOPNOTSUPP.

PR kern/58916: timerfd(2) claims ready for write

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 17 16:28:29 2022 UTC (4 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: perseant-exfatfs
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -2 lines
Implement eventfd_ioctl() and handle FIONBIO so that fcntl(O_NONBLOCK)
works.  While here, also implement FIONREAD and FIONWRITE, and document
why we don't implement FIONSPACE.

Also implement FIONBIO and FIONREAD for in timerfd_ioctl() (for the same
reason).

PR kern/56718

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Nov 24 16:35:33 2021 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -17 lines
Fix "restart" semantics -- restart is terminal, so don't clear the
condition when previous waiters have drained.  ("restart" is a bad
name for that this function does, fwiw.)

This should address a kernel assertion failure reported by Chavdar Ivanov
on current-users.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Sep 27 00:40:49 2021 UTC (5 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -3 lines
Consistently reference kn->kn_data only within the lock perimeter in
the filtops f_event() callback.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Sep 26 03:42:54 2021 UTC (5 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
eventfd and timerfd have MPSAFE kq filterops.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Sep 26 01:16:10 2021 UTC (5 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Change the kqueue filterops::f_isfd field to filterops::f_flags, and
define a flag FILTEROP_ISFD that has the meaning of the prior f_isfd.
Field and flag name aligned with OpenBSD.

This does not constitute a functional or ABI change, as the field location
and size, and the value placed in that field, are the same as the previous
code, but we're bumping __NetBSD_Version__ so 3rd-party module source code
can adapt, as needed.

NetBSD 9.99.89

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 20 11:12:35 2021 UTC (5 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
KNF, i.e. #include <sys/param.h> then #include <sys/types.h>

Fixes builds

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Sep 19 15:51:27 2021 UTC (5 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +691 -0 lines
Add native implementations of eventfd(2) and timerfd(2), compatible with
the Linux interfaces of the same name.

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 16:53:36 2020 UTC (5 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +689 -0 lines
Native implementation of the Linux timerfd API.

Revision 1.1
Mon Dec 14 16:53:36 2020 UTC (5 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-futex
FILE REMOVED
file sys_timerfd.c was initially added on branch thorpej-futex.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>