uvm_swap: introduce uvm_swap_data_lock

2021-12-30 Thread Theo Buehler
The diff below does two things: it adds a uvm_swap_data_lock mutex and trades it for the KERNEL_LOCK in uvm_swapisfull() and uvm_swap_markbad() The uvm_swap_data_lock protects all swap data structures, so needs to be grabbed a few times, many of them already documented in the comments. For review

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Jason McIntyre
On Thu, Dec 30, 2021 at 12:34:14PM -0800, Chris Cappuccio wrote: > Christopher Zimmermann [chr...@openbsd.org] wrote: > > On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: > > > You say it twice. But my eyes still glazed over it, not seeing what was > > > going on the first two times.

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Chris Cappuccio
Christopher Zimmermann [chr...@openbsd.org] wrote: > On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: > > You say it twice. But my eyes still glazed over it, not seeing what was > > going on the first two times. > > > > Maybe something more like > > > > prio 0 and 1 are mapped

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Jason McIntyre
On Thu, Dec 30, 2021 at 09:04:53PM +0100, Christopher Zimmermann wrote: > On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: > >You say it twice. But my eyes still glazed over it, not seeing what > >was going on the first two times. > > > >Maybe something more like > > > > prio 0

Re: explain priority codepoints and their mapping in vlan.4

2021-12-30 Thread Christopher Zimmermann
On Mon, Dec 20, 2021 at 04:41:07PM -0700, Theo de Raadt wrote: You say it twice. But my eyes still glazed over it, not seeing what was going on the first two times. Maybe something more like prio 0 and 1 are mapped out of order to PCP 1 and 0, but prio 2 to 7 are mapped directly to

Re: parallel ip forwarding

2021-12-30 Thread Vitaliy Makkoveev
> On 30 Dec 2021, at 11:28, YASUOKA Masahiko wrote: > > Hi, > > On Sat, 25 Dec 2021 21:50:47 +0300 > Vitaliy Makkoveev wrote: >> On Fri, Dec 24, 2021 at 12:50:23PM +0100, Alexander Bluhm wrote: >>> On Fri, Dec 24, 2021 at 04:16:28PM +0900, YASUOKA Masahiko wrote: > - npppd l2pt ipsecflow

Re: parallel ip forwarding

2021-12-30 Thread YASUOKA Masahiko
Hi, On Sat, 25 Dec 2021 21:50:47 +0300 Vitaliy Makkoveev wrote: > On Fri, Dec 24, 2021 at 12:50:23PM +0100, Alexander Bluhm wrote: >> On Fri, Dec 24, 2021 at 04:16:28PM +0900, YASUOKA Masahiko wrote: >> > > - npppd l2pt ipsecflowinfo is not MP safe >> > >> > Does this mean the things we are disc