On 8 June 2018 at 01:31, Eitan Adler <li...@eitanadler.com> wrote: > On 7 June 2018 at 22:40, Mateusz Guzik <m...@freebsd.org> wrote: >> Modified: head/sys/vm/uma_core.c >> ============================================================================== >> --- head/sys/vm/uma_core.c Fri Jun 8 05:17:06 2018 (r334829) >> +++ head/sys/vm/uma_core.c Fri Jun 8 05:40:36 2018 (r334830) >> @@ -2257,7 +2257,8 @@ uma_zalloc_arg(uma_zone_t zone, void *udata, int flags >> KASSERT(curthread->td_critnest == 0 || SCHEDULER_STOPPED(), >> ("uma_zalloc_arg: called with spinlock or critical section >> held")); >> if (zone->uz_flags & UMA_ZONE_PCPU) >> - MPASS((flags & M_ZERO) == 0); >> + KASSERT((flags & M_ZERO) == 0, ("allocating from a pcpu zone >> " >> + "with M_ZERO passed")); > > After this I get a panic (inverted order) > > Panic: flags & MZERO @ uma_core.c line 2260 > > fast_syscall_common > amd64_syscall > sys_ioctl > kern_ioctl > if_up > in6_attach > in6_update_ifa > rtinit > rtrequest1_fib > uma_zalloc_arg > zone_import > zone_fetch_slab > keg_fetch_slab > keb_alloc_slab > rtentry_zinit > counter_u64_alloc > uma_zalloc_arg > ...
ofc, kgdb has an internal error trying to open the core. -- Eitan Adler _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"