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
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.
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
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
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
> 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
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