Re: nv(4) acceleration disabled by default + enabling EXA

2023-07-21 Thread George Koehler
On Thu, 15 Jun 2023 20:26:43 +0200 Henryk Paluch wrote: > To enable EXA acceleration (the only that is supported in current > X-Window distribution) we can for example create file > /etc/X11/xorg.conf.d/15-nv-exa.conf with contents: > > > Section "Device" > Identifier "nv" >

Re: [v2] statclock: move profil(2), GPROF code into other clock interrupts

2023-07-21 Thread Scott Cheloha
On Fri, Jul 21, 2023 at 08:37:11PM +0200, Jeremie Courreges-Anglas wrote: > On Fri, Jul 21 2023, Mike Larkin wrote: > > On Fri, Jul 21, 2023 at 05:46:32PM +0200, Jeremie Courreges-Anglas wrote: > >> On Thu, Jul 20 2023, Scott Cheloha wrote: > >> > On Wed, Jul 19, 2023 at 05:09:04AM +, Mike

option GPROF on riscv64

2023-07-21 Thread Jeremie Courreges-Anglas
Spotted while testing a diff from cheloha@, option GPROF doesn't build on riscv64 because MCOUNT_ENTER/MCOUNT_EXIT from riscv64/include/profile.h haven't been adapted for riscv64. riscv64 /sys/arch/riscv64/compile/GPROF.MP$ doas -u build make cc -g -Werror -Wall -Wimplicit-function-declaration

Re: [v2] statclock: move profil(2), GPROF code into other clock interrupts

2023-07-21 Thread Jeremie Courreges-Anglas
On Fri, Jul 21 2023, Mike Larkin wrote: > On Fri, Jul 21, 2023 at 05:46:32PM +0200, Jeremie Courreges-Anglas wrote: >> On Thu, Jul 20 2023, Scott Cheloha wrote: >> > On Wed, Jul 19, 2023 at 05:09:04AM +, Mike Larkin wrote: >> >> On Tue, Jul 18, 2023 at 08:21:41AM -0500, Scott Cheloha wrote:

Re: Move solock() down to sosetopt()

2023-07-21 Thread Alexander Bluhm
On Thu, Jul 13, 2023 at 02:22:17AM +0300, Vitaliy Makkoveev wrote: > This is a part of my standalone sblock() work. I need this movement > because buffers related SO_SND* and SO_RCV* socket options modification > should be protected with sblock(). However, standalone sblock() has > different lock

Re: [v2] statclock: move profil(2), GPROF code into other clock interrupts

2023-07-21 Thread Mike Larkin
On Fri, Jul 21, 2023 at 05:46:32PM +0200, Jeremie Courreges-Anglas wrote: > On Thu, Jul 20 2023, Scott Cheloha wrote: > > On Wed, Jul 19, 2023 at 05:09:04AM +, Mike Larkin wrote: > >> On Tue, Jul 18, 2023 at 08:21:41AM -0500, Scott Cheloha wrote: > >> > This patch moves the profil(2)- and

Re: [v2] statclock: move profil(2), GPROF code into other clock interrupts

2023-07-21 Thread Jeremie Courreges-Anglas
On Thu, Jul 20 2023, Scott Cheloha wrote: > On Wed, Jul 19, 2023 at 05:09:04AM +, Mike Larkin wrote: >> On Tue, Jul 18, 2023 at 08:21:41AM -0500, Scott Cheloha wrote: >> > This patch moves the profil(2)- and GPROF-specific parts of >> > statclock() out into into separate clock interrupt

Re: inetd echo localhost

2023-07-21 Thread Alexander Bluhm
On Fri, Jul 21, 2023 at 03:05:41PM +0200, Claudio Jeker wrote: > On Fri, Jul 21, 2023 at 03:17:35PM +0300, Vitaliy Makkoveev wrote: > > On Thu, Jul 20, 2023 at 09:57:00PM +0200, Alexander Bluhm wrote: > > > Hi, > > > > > > I wonder why UDP echo does not work with inetd on 127.0.0.1. > > > > > >

Re: inetd echo localhost

2023-07-21 Thread Claudio Jeker
On Fri, Jul 21, 2023 at 03:17:35PM +0300, Vitaliy Makkoveev wrote: > On Thu, Jul 20, 2023 at 09:57:00PM +0200, Alexander Bluhm wrote: > > Hi, > > > > I wonder why UDP echo does not work with inetd on 127.0.0.1. > > > > Note that it is default off. One of my regress machines has it > > enabled

Re: inetd echo localhost

2023-07-21 Thread Vitaliy Makkoveev
On Thu, Jul 20, 2023 at 09:57:00PM +0200, Alexander Bluhm wrote: > Hi, > > I wonder why UDP echo does not work with inetd on 127.0.0.1. > > Note that it is default off. One of my regress machines has it > enabled for other tests. There perl dist/Net-Ping/t/510_ping_udp.t > expects that UDP

Re: sobuf_print(): add `sb_state' output

2023-07-21 Thread Alexander Bluhm
On Fri, Jul 21, 2023 at 11:35:21AM +0300, Vitaliy Makkoveev wrote: > It contains SS_CANTSENDMORE, SS_ISSENDING, SS_CANTRCVMORE and > SS_RCVATMARK bits. Also do `sb_flags' output as hex, it contains flags > too. OK bluhm@ > Index: sys/kern/uipc_socket.c >

sobuf_print(): add `sb_state' output

2023-07-21 Thread Vitaliy Makkoveev
It contains SS_CANTSENDMORE, SS_ISSENDING, SS_CANTRCVMORE and SS_RCVATMARK bits. Also do `sb_flags' output as hex, it contains flags too. Index: sys/kern/uipc_socket.c === RCS file: /cvs/src/sys/kern/uipc_socket.c,v retrieving

Re: Stop using direct syscall(2) from perl(1)

2023-07-21 Thread Philip Guenther
On Thu, Jul 20, 2023 at 10:59 PM Theo de Raadt wrote: > Andrew Hewus Fresh wrote: > > > One thing to note, on the advice of miod@, I adjusted the mapping of > > size_t from u_int to u_long, but that means we no longer recognize > > getlogin_r. When I asked, miod@ suggested that syscalls.master