On Thursday, 13. December 2018, 19:52:13 Mark Kettenis wrote:
> > From: Christian Ludwig <[email protected]>
> > Cc: Christian Ludwig <[email protected]>
> > Date: Thu, 13 Dec 2018 17:44:47 +0100
> >
> > Extents code has its own set of flags and does not use malloc's.
> > The current code passes in EX_FAST by accident, which does no harm.
> > That's probably why nobody stumbled upon it, yet.
> > ---
> >
> > sys/arch/i386/pci/pci_machdep.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> ok kettenis@
Anyone in the mood to commit this?
> > diff --git a/sys/arch/i386/pci/pci_machdep.c
> > b/sys/arch/i386/pci/pci_machdep.c index b712ff242ed..bfd8055f125 100644
> > --- a/sys/arch/i386/pci/pci_machdep.c
> > +++ b/sys/arch/i386/pci/pci_machdep.c
> > @@ -915,7 +915,7 @@ pci_init_extents(void)
> >
> > NULL, 0, EX_NOWAIT | EX_FILLED);
> >
> > if (pciio_ex == NULL)
> >
> > return;
> >
> > - extent_free(pciio_ex, 0, 0x10000, M_NOWAIT);
> > + extent_free(pciio_ex, 0, 0x10000, EX_NOWAIT);
> >
> > }
> >
> > if (pcimem_ex == NULL) {