Re: amd64: softintr_dispatch: remove kernel lock

2021-06-21 Thread Visa Hankala
On Thu, May 27, 2021 at 07:40:26PM -0500, Scott Cheloha wrote: > On Sun, May 23, 2021 at 09:05:24AM +, Visa Hankala wrote: > > When a CPU starts processing a soft interrupt, it reserves the handler > > to prevent concurrent execution. If the soft interrupt gets rescheduled > > during

WIP iwx(4) Tx aggregation

2021-06-21 Thread Stefan Sperling
This patch attempts to implement Tx aggregation support for iwx(4). It is not yet ready to be committed because of outstanding problems: - Under load the firmware throws a fatal firmware error every few minutes. - Starting a background scan under load can cause firmware errors and might error

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-21 Thread Jason McIntyre
On Tue, Jun 22, 2021 at 04:48:39AM +0200, Theo Buehler wrote: > > > > Feedback? OK? > > You have two overlong lines as indicated below. I would have thought > that mandoc -Tlint complains about that, but apparently it doesn't have > such a warning... With those wrapped, > yes, there is no

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-21 Thread Jason McIntyre
On Mon, Jun 21, 2021 at 11:26:41PM +, Klemens Nanni wrote: > > Thanks. tls_config_add_*_file also load files into memory, but given > this patch I think their usage of "add" in the manual is enough to infer > that files will also be loaded and added, so no need to change those as > well, I

Re: [External] : Re: parallel forwarding vs. bridges

2021-06-21 Thread David Gwynne
On Wed, Jun 16, 2021 at 02:59:19AM +0200, Alexandr Nedvedicky wrote: > Hello, > > > > > > as above, copyout with a sleeping lock is fine. > > > > the whole point of my change is to give us the ability to lock in the > > forwarding path separately to locking in the ioctl path. half of that is >

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-21 Thread Theo Buehler
On Mon, Jun 21, 2021 at 11:26:41PM +, Klemens Nanni wrote: > On Sun, Jun 20, 2021 at 09:32:36PM +0200, Theo Buehler wrote: > > On Sat, Jun 19, 2021 at 03:34:39PM +, Klemens Nanni wrote: > > > On Thu, Jun 10, 2021 at 10:26:15PM +, Klemens Nanni wrote: > > > > tls_config_set_ca_file(3)

UGREEN USB to RS-232 corrected patch

2021-06-21 Thread Francisco Gaitan
Index: uplcom.c === RCS file: /cvs/src/sys/dev/usb/uplcom.c,v retrieving revision 1.77 diff -u -p -u -p -r1.77 uplcom.c --- uplcom.c27 Jan 2021 17:28:19 - 1.77 +++ uplcom.c19 Jun 2021 19:25:50 - @@ -162,6 +162,7

crypto kernel lock

2021-06-21 Thread Alexander Bluhm
On Thu, Jun 17, 2021 at 03:19:11PM +0200, Alexander Bluhm wrote: > On Thu, Jun 17, 2021 at 10:09:47AM +0200, Martin Pieuchot wrote: > > Could you annotate which field is being protected by the KERNEL_LOCK()? > > No. I do not want to invest into fine grained crypto locking. I > need a stable

Re: tls_load_file.3: tls_config_set_*_file() load files into memory

2021-06-21 Thread Klemens Nanni
On Sun, Jun 20, 2021 at 09:32:36PM +0200, Theo Buehler wrote: > On Sat, Jun 19, 2021 at 03:34:39PM +, Klemens Nanni wrote: > > On Thu, Jun 10, 2021 at 10:26:15PM +, Klemens Nanni wrote: > > > tls_config_set_ca_file(3) and tls_config_set_cert_file(3) do not just > > > set the file paths

Re: gprof: Profiling a multi-threaded application

2021-06-21 Thread Yuichiro NAITO
I updated my patch. I see `struct gmonparam` must be same between the kernel and kgmon(1). I deleted #ifndef in the `struct gmonparam`. Is it OK? diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index 1ce0a1c289e..6887f4f5987 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c