CVS log for src/sys/kern/sys_eventfd.c
Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 11 16:29:26 2024 UTC (2 months, 3 weeks ago) by martin
Branches: netbsd-10
Diff to: previous 1.9.4.1: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.4.1: +3 -5
lines
Pull up following revision(s) (requested by rin in ticket #831):
sys/kern/sys_eventfd.c: revision 1.11
eventfd(2): Prune dead branch.
Fallout from PR kern/57703 fix.
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 26 12:33:19 2023 UTC (12 months, 1 week ago) by bouyer
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -24
lines
Pull up following revision(s) (requested by riastradh in ticket #468):
sys/kern/sys_eventfd.c: revision 1.10
eventfd(2): Omit needless micro-optimization causing PR kern/57703.
Unfortunately, owing to PR kern/57705 and PR misc/57706, it isn't
convenient to flip the xfail switch on a test for this bug. So we'll
do that separately. (But I did verify that a rumpified version of
the test postd to PR kern/57703 failed without this change, and
passed with this change.)
PR kern/57703
XXX pullup-10
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Nov 19 17:16:00 2023 UTC (12 months, 2 weeks ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -5
lines
eventfd(2): Prune dead branch.
Fallout from PR kern/57703 fix.
XXX pullup-10
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Nov 19 04:13:37 2023 UTC (12 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -24
lines
eventfd(2): Omit needless micro-optimization causing PR kern/57703.
Unfortunately, owing to PR kern/57705 and PR misc/57706, it isn't
convenient to flip the xfail switch on a test for this bug. So we'll
do that separately. (But I did verify that a rumpified version of
the test postd to PR kern/57703 failed without this change, and
passed with this change.)
PR kern/57703
XXX pullup-10
Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 17 16:28:29 2022 UTC (2 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RC1,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +36 -3
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.8: download - view: text, markup, annotated - select for diffs
Wed Nov 24 16:35:33 2021 UTC (3 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +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.7: download - view: text, markup, annotated - select for diffs
Mon Sep 27 00:40:49 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -4
lines
Consistently reference kn->kn_data only within the lock perimeter in
the filtops f_event() callback.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Sep 26 03:42:54 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
eventfd and timerfd have MPSAFE kq filterops.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Sep 26 01:16:10 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4
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.4: download - view: text, markup, annotated - select for diffs
Mon Sep 20 14:30:05 2021 UTC (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
eventfd_destroy(): Add missing kmem_free().
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Sep 20 11:12:35 2021 UTC (3 years, 2 months 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 (3 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +579 -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:00:51 2020 UTC (3 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: +583 -0
lines
Native implementation of the Linux eventfd(2) API.
Revision 1.1
Mon Dec 14 16:00:51 2020 UTC (3 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_eventfd.c was initially added on branch thorpej-futex.
CVSweb <webmaster@jp.NetBSD.org>