Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: A20 hang



On Mon, Sep 10, 2018 at 04:17:57PM +0100, Nick Hudson wrote:
> On 10/09/18 12:30, Manuel Bouyer wrote:
> > [ 5931.0429800] last locked* : 0x00000000803809c8 unlocked : 0x0000000080380c40
> And these? :)

(gdb) l *(0x00000000803809c8)
0x803809c8 is in pool_get (/dsk/l1/misc/bouyer/HEAD/clean/src/sys/kern/subr_pool.c:775).
770                 __func__, pp->pr_wchan);
771             if (flags & PR_WAITOK) {
772                     ASSERT_SLEEPABLE();
773             }
774
775             mutex_enter(&pp->pr_lock);
776      startover:
777             /*
778              * Check to see if we've reached the hard limit.  If we have,
779              * and we can wait, then wait until an item has been returned to

(gdb) l *(0x0000000080380c40)
0x80380c40 is in pool_get (/dsk/l1/misc/bouyer/HEAD/clean/src/sys/kern/subr_pool.c:937).
932                      * a caller's assumptions about interrupt protection, etc.
933                      */
934             }
935
936             mutex_exit(&pp->pr_lock);
937             KASSERT((((vaddr_t)v + pp->pr_itemoffset) & (pp->pr_align - 1)) == 0);
938             FREECHECK_OUT(&pp->pr_freecheck, v);
939             pool_redzone_fill(pp, v);
940             return (v);
941     }

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index