Skip to content

Inetd Refactoring#16

Closed
ritzow wants to merge 1 commit into
NetBSD:trunkfrom
ritzow:inetd-changes-2
Closed

Inetd Refactoring#16
ritzow wants to merge 1 commit into
NetBSD:trunkfrom
ritzow:inetd-changes-2

Conversation

@ritzow

@ritzow ritzow commented Oct 8, 2021

Copy link
Copy Markdown

Oops!

Move rate limit code and parsing code to separate files
Make rate limiting list structure more efficient
@ritzow ritzow closed this Oct 8, 2021
netbsd-srcmastr pushed a commit that referenced this pull request Dec 21, 2022
	share/mk/bsd.x11.mk: revision 1.146

bump xorg-server version.
netbsd-srcmastr pushed a commit that referenced this pull request Dec 21, 2022
netbsd-srcmastr pushed a commit that referenced this pull request Jul 30, 2023
	share/mk/bsd.x11.mk: revision 1.146

bump xorg-server version.
netbsd-srcmastr pushed a commit that referenced this pull request Jul 30, 2023
netbsd-srcmastr pushed a commit that referenced this pull request Aug 20, 2023
	share/mk/bsd.x11.mk: revision 1.146

bump xorg-server version.
netbsd-srcmastr pushed a commit that referenced this pull request Aug 20, 2023
skrll added a commit to skrll/src that referenced this pull request Dec 15, 2024
...
[   1.9288362] panic: kernel diagnostic assertion "l->l_stat == LSONPROC" failed: file "/home/nick/netbsd/nick-ryopmap/src/sys/kern/kern_sleepq.c", line 264
[   1.9488367] cpu7: Begin traceback...
[   1.9588363] trace fp ffffc004a7fd3b90
[   1.9588363] fp ffffc004a7fd3bc0 vpanic() at ffffc000005d07e0 netbsd:vpanic+0x1a0
[   1.9788365] fp ffffc004a7fd3c20 kern_assert() at ffffc00000871778 netbsd:kern_assert+0x58
[   1.9888363] fp ffffc004a7fd3cb0 sleepq_enqueue() at ffffc00000592dec netbsd:sleepq_enqueue+0x148
[   2.0088367] fp ffffc004a7fd3cf0 turnstile_block() at ffffc000005a56d8 netbsd:turnstile_block+0x188
[   2.0288371] fp ffffc004a7fd3d80 mutex_enter() at ffffc000005792c8 netbsd:mutex_enter+0x1b8
[   2.0388376] fp ffffc004a7fd3e00 evcnt_attach_static() at ffffc000005b9800 netbsd:evcnt_attach_static+0x60
[   2.0588378] fp ffffc004a7fd3e20 gicv3_cpu_init() at ffffc00000005f84 netbsd:gicv3_cpu_init+0x44
[   2.0788382] fp ffffc004a7fd3e80 intr_cpu_init() at ffffc00000002318 netbsd:intr_cpu_init+0x48
[   2.0888381] fp ffffc004a7fd3eb0 cpu_hatch() at ffffc000000a830c netbsd:cpu_hatch+0x48
[   2.1088386] fp 0000000000000000 cpu_mpstart() at ffffc00000001a7c netbsd:cpu_mpstart+0x194
[   2.1188392] cpu7: End traceback...
Stopped in pid 0.124 (system) at        netbsd:cpu_Debugger+0xc:        ldp     x29, x30, [sp],NetBSD#16
trace tf 0xffffc00001494f40
---- BKPT Instruction Execution: trapframe 0xffffc00001494f40 (304 bytes) ----
    pc=ffffc0000009dd1c,   spsr=0000000020000005
   esr=00000000f200ffff,    far=0000000000000000
    x0=0000000000000001,     x1=00000000ffffffff
    x2=ffffc00000e7f000,     x3=ffffc000005d0630
    x4=0000000000000000,     x5=ffffc00001590028
    x6=0000000000000075,     x7=00000000ffffffc8
    x8=0000000000000000,     x9=ffffc004a7fd3acf
   x10=ffffc004a7fd3970,    x11=00000000fffffffe
   x12=ffffff000003a01c,    x13=ffffff000003a01d
   x14=0000000000000000,    x15=ffffc00000e80670
   x16=ffffc0000000ab10,    x17=0000000000000000
   x18=0000000000000000,    x19=ffffc00001590028
   x20=ffffc0000158fff8,    x21=ffffc00000b4cbc8
   x22=ffffc0000158f000,    x23=ffffc0000158e000
   x24=0000000000000104,    x25=ffffc00001376580
   x26=0000000000000000,    x27=0000000000000000
   x28=ffff0023fb0c0180, fp=x29=ffffc004a7fd3bb0
lr=x30=ffffc000005d07e4,     sp=ffffc004a7fd3bb0
------------------------------------------------
fp ffffc004a7fd3bb0 cpu_Debugger() at ffffc0000009dd18 netbsd:cpu_Debugger+0x8
fp ffffc004a7fd3bc0 vpanic() at ffffc000005d07e0 netbsd:vpanic+0x1a0
fp ffffc004a7fd3c20 kern_assert() at ffffc00000871778 netbsd:kern_assert+0x58
fp ffffc004a7fd3cb0 sleepq_enqueue() at ffffc00000592dec netbsd:sleepq_enqueue+0x148
fp ffffc004a7fd3cf0 turnstile_block() at ffffc000005a56d8 netbsd:turnstile_block+0x188
fp ffffc004a7fd3d80 mutex_enter() at ffffc000005792c8 netbsd:mutex_enter+0x1b8
fp ffffc004a7fd3e00 evcnt_attach_static() at ffffc000005b9800 netbsd:evcnt_attach_static+0x60
fp ffffc004a7fd3e20 gicv3_cpu_init() at ffffc00000005f84 netbsd:gicv3_cpu_init+0x44
fp ffffc004a7fd3e80 intr_cpu_init() at ffffc00000002318 netbsd:intr_cpu_init+0x48
fp ffffc004a7fd3eb0 cpu_hatch() at ffffc000000a830c netbsd:cpu_hatch+0x48
fp 0000000000000000 cpu_mpstart() at ffffc00000001a7c netbsd:cpu_mpstart+0x194
db{7}>
netbsd-srcmastr pushed a commit that referenced this pull request Aug 25, 2025
	external/lgpl2/userspace-rcu/lib/liburcu-signal/Makefile: revision 1.2
	external/mpl/bind/bind2netbsd: revision 1.11
	external/lgpl2/userspace-rcu/lib/liburcu/Makefile: revision 1.2
	external/mpl/bind/include/config.h: revision 1.24
	external/mpl/bind/Makefile.inc: revision 1.18

named: use liburcu-mb on netbsd.

make libucru use RCU_MB by default.
fix the liburcu-signal library name (built but unused.)
on netbsd, RCU_MEMBARRIER is identical to RCU_MB, except with some
extra code run at init time (in a ctor) and then falling back to
being identical because that code ultimately hard coded to fail.
this reduces the startup code very minimally, and avoids using
a linux-specific version (that has fallback for old linux that
works on netbsd.)  it also avoids the problem in PR#59571, though
the problem seen there is 100% still a problem, and i'll file a
separate PR about that problem.  (i'm hoping to provide a minimal
test case, but so far it is not very small.)
netbsd-srcmastr pushed a commit that referenced this pull request Aug 25, 2025
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.

1 participant