Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 17 16:28:29 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
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,
HEAD
Changes since 1.7: +11 -2
lines
Diff to previous 1.7 (colored) to selected 1.6 (colored)
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) - annotate - [select for diffs], Wed Nov 24 16:35:33 2021 UTC (2 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +6 -17
lines
Diff to previous 1.6 (colored)
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) - annotate - [selected], Mon Sep 27 00:40:49 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +5 -3
lines
Diff to previous 1.5 (colored)
Consistently reference kn->kn_data only within the lock perimeter in the filtops f_event() callback.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 26 03:42:54 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +3 -3
lines
Diff to previous 1.4 (colored) to selected 1.6 (colored)
eventfd and timerfd have MPSAFE kq filterops.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 26 01:16:10 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored) to selected 1.6 (colored)
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) - annotate - [select for diffs], Mon Sep 20 11:12:35 2021 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.2: +3 -2
lines
Diff to previous 1.2 (colored) to selected 1.6 (colored)
KNF, i.e. #include <sys/param.h> then #include <sys/types.h> Fixes builds
Revision 1.2 / (download) - annotate - [select for diffs], Sun Sep 19 15:51:27 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +691 -0
lines
Diff to previous 1.1 (colored) to selected 1.6 (colored)
Add native implementations of eventfd(2) and timerfd(2), compatible with the Linux interfaces of the same name.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 16:53:36 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.1: +689 -0
lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.6 (colored)
Native implementation of the Linux timerfd API.
Revision 1.1, Mon Dec 14 16:53:36 2020 UTC (3 years, 3 months ago) by thorpej
Branch: 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.