Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 17 16:28:29 2022 UTC (11 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.8: +36 -3
lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Wed Nov 24 16:35:33 2021 UTC (14 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +6 -17
lines
Diff to previous 1.7 (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.7 / (download) - annotate - [select for diffs], Mon Sep 27 00:40:49 2021 UTC (16 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +8 -4
lines
Diff to previous 1.6 (colored)
Consistently reference kn->kn_data only within the lock perimeter in the filtops f_event() callback.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 26 03:42:54 2021 UTC (16 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (colored)
eventfd and timerfd have MPSAFE kq filterops.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 26 01:16:10 2021 UTC (16 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Mon Sep 20 14:30:05 2021 UTC (16 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.3: +4 -2
lines
Diff to previous 1.3 (colored)
eventfd_destroy(): Add missing kmem_free().
Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 20 11:12:35 2021 UTC (16 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.2: +3 -2
lines
Diff to previous 1.2 (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 (16 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.1: +579 -0
lines
Diff to previous 1.1 (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:00:51 2020 UTC (2 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.1: +583 -0
lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
Native implementation of the Linux eventfd(2) API.
Revision 1.1, Mon Dec 14 16:00:51 2020 UTC (2 years, 1 month 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_eventfd.c was initially added on branch thorpej-futex.