Is adding new cli game allowed ?

2022-12-04 Thread Alireza Arzehgar
I want to implement and maintain dot and boxes game on OpenBSD games. I don't know sending patch with this content is acceptable or not.

Fix evcount_percpu() after evcount_init_percpu() (plus bits for mips64)

2022-12-04 Thread Visa Hankala
Do not re-insert the event counter to evcount_list in evcount_percpu(). Otherwise the list becomes corrupt when evcount_percpu() is called after evcount_init_percpu(). OK? As an extra, use percpu counters with mips64 clock and ipi interrupts. Index: kern/subr_evcount.c ==

Re: Fix evcount_percpu() after evcount_init_percpu() (plus bits for mips64)

2022-12-04 Thread Jeremie Courreges-Anglas
On Sun, Dec 04 2022, Visa Hankala wrote: > Do not re-insert the event counter to evcount_list in evcount_percpu(). > Otherwise the list becomes corrupt when evcount_percpu() is called > after evcount_init_percpu(). > > OK? Woops. ok jca@ > As an extra, use percpu counters with mips64 clock and

Re: install.sub: fix softraid disks not being created before md_installboot()

2022-12-04 Thread Klemens Nanni
On Tue, Nov 22, 2022 at 05:12:33PM +, ssnf wrote: > > Deliver steps to reproduce, installation logs, machine information, > > version details, ANYTHING technical. > > Version: OpenBSD 7.2 release > Arch:i386 > Image: install72.iso > Machine: Thinkpad 380XD 32MB 233MHz Pentium MMX Withou

Re: Fix evcount_percpu() after evcount_init_percpu() (plus bits for mips64)

2022-12-04 Thread Scott Cheloha
On Sun, Dec 04, 2022 at 02:31:41PM +, Visa Hankala wrote: > Do not re-insert the event counter to evcount_list in evcount_percpu(). > Otherwise the list becomes corrupt when evcount_percpu() is called > after evcount_init_percpu(). > > OK? Huh. That's no good. ok cheloha@ > As an extra, us

Re: userspace: remove vestigial '?' cases from getopt(3) loops

2022-12-04 Thread Todd C . Miller
On Sat, 03 Dec 2022 20:14:37 -0600, Scott Cheloha wrote: > There are nearly a hundred vestigial question mark cases in the > top-level getopt(3) loops of various programs. You know, this: > > switch (ch) { > /* ... */ > case '?': > default: > usage(); >

Re: userspace: remove vestigial '?' cases from getopt(3) loops

2022-12-04 Thread David Gwynne
On Sat, Dec 03, 2022 at 08:14:37PM -0600, Scott Cheloha wrote: > There are nearly a hundred vestigial question mark cases in the > top-level getopt(3) loops of various programs. You know, this: > > switch (ch) { > /* ... */ > case '?': > default: > usage(); >

Re: userspace: remove vestigial '?' cases from getopt(3) loops

2022-12-04 Thread Scott Cheloha
On Mon, Dec 05, 2022 at 06:37:49AM +1000, David Gwynne wrote: > On Sat, Dec 03, 2022 at 08:14:37PM -0600, Scott Cheloha wrote: > > There are nearly a hundred vestigial question mark cases in the > > top-level getopt(3) loops of various programs. You know, this: > > > > switch (ch) { > > /

Re: userspace: remove vestigial '?' cases from getopt(3) loops

2022-12-04 Thread Todd C . Miller
On Sun, 04 Dec 2022 15:58:22 -0600, Scott Cheloha wrote: > On Mon, Dec 05, 2022 at 06:37:49AM +1000, David Gwynne wrote: > > On Sat, Dec 03, 2022 at 08:14:37PM -0600, Scott Cheloha wrote: > > > There are nearly a hundred vestigial question mark cases in the > > > top-level getopt(3) loops of vario

Re: userspace: remove vestigial '?' cases from getopt(3) loops

2022-12-04 Thread Scott Cheloha
On Sun, Dec 04, 2022 at 03:19:18PM -0700, Todd C. Miller wrote: > On Sun, 04 Dec 2022 15:58:22 -0600, Scott Cheloha wrote: > > > On Mon, Dec 05, 2022 at 06:37:49AM +1000, David Gwynne wrote: > > > On Sat, Dec 03, 2022 at 08:14:37PM -0600, Scott Cheloha wrote: > > > > There are nearly a hundred ves

Re: help pfsync by extending pf_state_key lifetimes on pf_states

2022-12-04 Thread Alexandr Nedvedicky
Hello, On Sat, Dec 03, 2022 at 09:53:45AM +1000, David Gwynne wrote: > we (mostly sashan@ and me) have a problem where pfsync can be holding a > reference to a pf_state that pf has decided to purge, and then pfsync > crashes because it tries to read the pf_state_key parts of the state, > but they

Re: hppa: switch to clockintr(9)

2022-12-04 Thread Philip Guenther
Took a couple tries due to my farting around (and not wanting to leave the power-sucking hppa running when I couldn't monitor progress) but it completed a make kernel, make build, make release cycle with reboots. Ship it? Philip Guenther On Sat, Dec 3, 2022 at 9:26 PM Philip Guenther wrote: >

Re: Fix C++ namespace polution in stdio.h header

2022-12-04 Thread Brad Smith
ping. On 10/15/2021 7:41 PM, Brad Smith wrote: The following diff fixes namespace polution with C++ in the stdio.h header. I was looking into a build issue when trying to build another program dependent on a new port I posted (spdlog). Peeking at one of it's headers I noticed a workaround for O

Re: hppa: switch to clockintr(9)

2022-12-04 Thread Scott Cheloha
On Sun, Dec 04, 2022 at 05:10:27PM -0800, Philip Guenther wrote: > Took a couple tries due to my farting around (and not wanting to leave the > power-sucking hppa running when I couldn't monitor progress) but it > completed a make kernel, make build, make release cycle with reboots. > > Ship it?

Re: Fix evcount_percpu() after evcount_init_percpu() (plus bits for mips64)

2022-12-04 Thread Jonathan Matthew
On Sun, Dec 04, 2022 at 02:31:41PM +, Visa Hankala wrote: > Do not re-insert the event counter to evcount_list in evcount_percpu(). > Otherwise the list becomes corrupt when evcount_percpu() is called > after evcount_init_percpu(). > > OK? clearly I never managed to test that path. oops. ok

dlfcn(3) spacing tweak

2022-12-04 Thread Brad Smith
After the RTLD_NOLOAD addition to the page the spacing looks kind of odd. Make the spacing look like RTLD_NOW / RTLD_LAZY above that. Index: dlfcn.3 === RCS file: /home/cvs/src/share/man/man3/dlfcn.3,v retrieving revision 1.32 diff -

Re: help pfsync by extending pf_state_key lifetimes on pf_states

2022-12-04 Thread David Gwynne
On Mon, Dec 05, 2022 at 12:45:29AM +0100, Alexandr Nedvedicky wrote: > Hello, > > > On Sat, Dec 03, 2022 at 09:53:45AM +1000, David Gwynne wrote: > > we (mostly sashan@ and me) have a problem where pfsync can be holding a > > reference to a pf_state that pf has decided to purge, and then pfsync >

Re: help pfsync by extending pf_state_key lifetimes on pf_states

2022-12-04 Thread David Gwynne
On Mon, Dec 05, 2022 at 11:32:06AM +1000, David Gwynne wrote: > On Mon, Dec 05, 2022 at 12:45:29AM +0100, Alexandr Nedvedicky wrote: > > Hello, > > > > > > On Sat, Dec 03, 2022 at 09:53:45AM +1000, David Gwynne wrote: > > > we (mostly sashan@ and me) have a problem where pfsync can be holding a >

Re: ixv(4): porting Virtual Function driver for Intel 82599 series.

2022-12-04 Thread Yuichiro NAITO
I updated my patch to remove AIM code. I can't see any performance improvement with AIM enabled. I ran packet forwarding test with Cisco TRex traffic Generator (*1). AIM doesn't improves performance in this test. *1: https://trex-tgn.cisco.com/ With my latest patch, I've got following maximum pa

Re: dlfcn(3) spacing tweak

2022-12-04 Thread Jason McIntyre
On Sun, Dec 04, 2022 at 08:29:26PM -0500, Brad Smith wrote: > After the RTLD_NOLOAD addition to the page the spacing looks kind of > odd. Make the spacing look like RTLD_NOW / RTLD_LAZY above that. > > > Index: dlfcn.3 > === > RCS fi

Re: dlfcn(3) spacing tweak

2022-12-04 Thread Brad Smith
On Mon, Dec 05, 2022 at 06:42:00AM +, Jason McIntyre wrote: > On Sun, Dec 04, 2022 at 08:29:26PM -0500, Brad Smith wrote: > > After the RTLD_NOLOAD addition to the page the spacing looks kind of > > odd. Make the spacing look like RTLD_NOW / RTLD_LAZY above that. > > > > > > Index: dlfcn.3 >

Re: dlfcn(3) spacing tweak

2022-12-04 Thread Jason McIntyre
On Mon, Dec 05, 2022 at 01:47:50AM -0500, Brad Smith wrote: > On Mon, Dec 05, 2022 at 06:42:00AM +, Jason McIntyre wrote: > > On Sun, Dec 04, 2022 at 08:29:26PM -0500, Brad Smith wrote: > > > After the RTLD_NOLOAD addition to the page the spacing looks kind of > > > odd. Make the spacing look l