Re: uvm_meter: improve periodic execution logic for uvm_loadav()

2023-06-19 Thread Claudio Jeker
On Mon, Jun 19, 2023 at 04:45:03PM -0500, Scott Cheloha wrote: > On Mon, Jun 19, 2023 at 10:22:56AM +0200, Claudio Jeker wrote: > > On Sun, Jun 18, 2023 at 12:43:18PM -0500, Scott Cheloha wrote: > > > On Sun, Jun 18, 2023 at 12:36:07PM -0500, Scott Cheloha wrote: > > > > On Sun, Jun 18, 2023 at 07:

Re: profclock, gmonclock: new callbacks for profil(2)/GPROF statclock() code

2023-06-19 Thread Claudio Jeker
On Mon, Jun 19, 2023 at 06:41:14PM -0500, Scott Cheloha wrote: > > On Jun 19, 2023, at 18:07, Theo de Raadt wrote: > > > > Make sure to STOP all kernel profiling before attempting to > >suspend or hibernate your machine. Otherwise I expect it > >will hang. > > > > It is

Re: Status of Virtual Function driver for Intel 82599 series port?

2023-06-19 Thread Yuichiro NAITO
Hi. I fixed a bug on Intel 82599. Please refer to following patch. And I found that Linux 82599 PF driver doesn't allow setting VF MTU size bigger than PF MTU size. If you set bigger MTU size for ixv interface than PF MTU size, you will see the following message in dmesg and the ixv interface stop

Re: profclock, gmonclock: new callbacks for profil(2)/GPROF statclock() code

2023-06-19 Thread Scott Cheloha
> On Jun 19, 2023, at 18:07, Theo de Raadt wrote: > > Make sure to STOP all kernel profiling before attempting to >suspend or hibernate your machine. Otherwise I expect it >will hang. > > It is completely acceptable if it produces wrong results, but it must > not hang t

Re: profclock, gmonclock: new callbacks for profil(2)/GPROF statclock() code

2023-06-19 Thread Theo de Raadt
Make sure to STOP all kernel profiling before attempting to suspend or hibernate your machine. Otherwise I expect it will hang. It is completely acceptable if it produces wrong results, but it must not hang the system.

Re: profclock, gmonclock: new callbacks for profil(2)/GPROF statclock() code

2023-06-19 Thread Theo de Raadt
Make sure to STOP all kernel profiling before attempting to suspend or hibernate your machine. Otherwise I expect it will hang. That is not acceptable. People suspend and hibernate machines without being aware of what applications are doing. GPROF is a kernel com

Re: profclock, gmonclock: new callbacks for profil(2)/GPROF statclock() code

2023-06-19 Thread Scott Cheloha
On Mon, Jun 19, 2023 at 05:40:04PM -0500, Scott Cheloha wrote: > This patch moves the profil(2)- and GPROF-specific parts of > statclock() out into their own dedicated clock interrupts. > > Test instructions will follow in a reply to this mail. This needs > testing on every platform. Please repl

profclock, gmonclock: new callbacks for profil(2)/GPROF statclock() code

2023-06-19 Thread Scott Cheloha
This patch moves the profil(2)- and GPROF-specific parts of statclock() out into their own dedicated clock interrupts. Test instructions will follow in a reply to this mail. This needs testing on every platform. Please reply with dmesgs and results. Non-amd64 results are greatly appreciated. An

Re: uvm_meter: improve periodic execution logic for uvm_loadav()

2023-06-19 Thread Scott Cheloha
On Mon, Jun 19, 2023 at 10:22:56AM +0200, Claudio Jeker wrote: > On Sun, Jun 18, 2023 at 12:43:18PM -0500, Scott Cheloha wrote: > > On Sun, Jun 18, 2023 at 12:36:07PM -0500, Scott Cheloha wrote: > > > On Sun, Jun 18, 2023 at 07:32:56PM +0200, Mark Kettenis wrote: > > > > > Date: Sun, 18 Jun 2023 12

Re: Diff for evaluation (WACOM tablet driver)

2023-06-19 Thread Matthieu Herrb
On Sun, Jun 18, 2023 at 09:36:25AM +, Vladimir Meshcheriakov wrote: > Good day, > > I am currently trying to work on an implementation > of a driver for the WACOM tablet on openBSD > I am therefore submitting this diff so that it could potentially be evaluated. > Please if you have a moment, c

httpd: use the host name in SERVER_NAME

2023-06-19 Thread Omar Polo
currently httpd uses the name specified in the config `server' block which is not guaranteed to be a valid hostname. quoting rfc3875: The SERVER_NAME variable MUST be set to the name of the server host to which the client request is directed. It is a case-insensitive hostname or network

Re: uvm_meter: improve periodic execution logic for uvm_loadav()

2023-06-19 Thread Mark Kettenis
> Date: Mon, 19 Jun 2023 10:22:56 +0200 > From: Claudio Jeker > > On Sun, Jun 18, 2023 at 12:43:18PM -0500, Scott Cheloha wrote: > > On Sun, Jun 18, 2023 at 12:36:07PM -0500, Scott Cheloha wrote: > > > On Sun, Jun 18, 2023 at 07:32:56PM +0200, Mark Kettenis wrote: > > > > > Date: Sun, 18 Jun 2023

Re: uvm_meter: improve periodic execution logic for uvm_loadav()

2023-06-19 Thread Claudio Jeker
On Sun, Jun 18, 2023 at 12:43:18PM -0500, Scott Cheloha wrote: > On Sun, Jun 18, 2023 at 12:36:07PM -0500, Scott Cheloha wrote: > > On Sun, Jun 18, 2023 at 07:32:56PM +0200, Mark Kettenis wrote: > > > > Date: Sun, 18 Jun 2023 12:27:17 -0500 > > > > From: Scott Cheloha > > > > > > > > The intent h