NetBSD-Bugs archive

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

Re: kern/54736: pthread t_kill test locks up the kernel



The following reply was made to PR kern/54736; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: ad%NetBSD.org@localhost, macallan%NetBSD.org@localhost
Subject: Re: kern/54736: pthread t_kill test locks up the kernel
Date: Thu, 5 Dec 2019 13:57:59 +0100

 Here is a bit of ddb output showing it does not do any context switches
 any more --  AST handling again?
 
 Martin
 
 Stopped in pid 1381.3 (t_kill) at       netbsd:zstty_stint+0x1d8:       b       
 netbsd:zstty_stint+0x144
 db{0}> show uvmexp
 Current UVM status:
   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12, ncolors=1
   377173 VM pages: 48078 active, 37 inactive, 2879 wired, 309687 free
   pages  5611 anon, 41922 file, 3461 exec
   freemin=512, free-target=682, wired-max=125724
   resv-pg=1, resv-kernel=10, zeropages=0
   bootpages=7382, poolpages=15494
   cpu0:
     faults=1246063, traps=575810, intrs=7086064, ctxswitch=964503
     softint=1999910, syscalls=0
   cpu1:
     faults=604322, traps=589452, intrs=6885728, ctxswitch=1038870
     softint=694938, syscalls=0
   fault counts:
     noram=0, noanon=0, pgwait=0, pgrele=0
     ok relocks(total)=5067(5067), anget(retrys)=938690(0), amapcopy=141352
     neighbor anon/obj pg=125636/2216092, gets(lock/unlock)=558230/5067
     cases: anon=870576, anoncow=68114, obj=444476, prcopy=113754, przero=326761
   daemon and swap counts:
     woke=0, revs=0, scans=0, obscans=0, anscans=0
     busy=0, freed=0, reactivate=0, deactivate=0
     pageouts=0, pending=0, nswget=0
     nswapdev=1, swpgavail=1152017
     swpages=1152017, swpginuse=0, swpgonly=0, paging=0
 db{0}> c
 Stopped in pid 1381.3 (t_kill) at       netbsd:zstty_stint+0x1d8:       b       
 netbsd:zstty_stint+0x144
 db{0}> show uvmexp
 Current UVM status:
   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12, ncolors=1
   377173 VM pages: 48078 active, 37 inactive, 2879 wired, 309687 free
   pages  5611 anon, 41922 file, 3461 exec
   freemin=512, free-target=682, wired-max=125724
   resv-pg=1, resv-kernel=10, zeropages=0
   bootpages=7382, poolpages=15494
   cpu0:
     faults=1246063, traps=575810, intrs=7087015, ctxswitch=964503
     softint=2000025, syscalls=0
   cpu1:
     faults=604322, traps=589452, intrs=6887260, ctxswitch=1038870
     softint=694952, syscalls=0
   fault counts:
     noram=0, noanon=0, pgwait=0, pgrele=0
     ok relocks(total)=5067(5067), anget(retrys)=938690(0), amapcopy=141352
     neighbor anon/obj pg=125636/2216092, gets(lock/unlock)=558230/5067
     cases: anon=870576, anoncow=68114, obj=444476, prcopy=113754, przero=326761
   daemon and swap counts:
     woke=0, revs=0, scans=0, obscans=0, anscans=0
     busy=0, freed=0, reactivate=0, deactivate=0
     pageouts=0, pending=0, nswget=0
     nswapdev=1, swpgavail=1152017
     swpages=1152017, swpginuse=0, swpgonly=0, paging=0
 db{0}> c
 Stopped in pid 1381.3 (t_kill) at       netbsd:zstty_stint+0x1d8:       b       
 netbsd:zstty_stint+0x144
 db{0}> show uvmexp
 Current UVM status:
   pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12, ncolors=1
   377173 VM pages: 48078 active, 37 inactive, 2879 wired, 309687 free
   pages  5611 anon, 41922 file, 3461 exec
   freemin=512, free-target=682, wired-max=125724
   resv-pg=1, resv-kernel=10, zeropages=0
   bootpages=7382, poolpages=15494
   cpu0:
     faults=1246063, traps=575810, intrs=7088220, ctxswitch=964503
     softint=2000171, syscalls=0
   cpu1:
     faults=604322, traps=589452, intrs=6889034, ctxswitch=1038870
     softint=694967, syscalls=0
   fault counts:
     noram=0, noanon=0, pgwait=0, pgrele=0
     ok relocks(total)=5067(5067), anget(retrys)=938690(0), amapcopy=141352
     neighbor anon/obj pg=125636/2216092, gets(lock/unlock)=558230/5067
     cases: anon=870576, anoncow=68114, obj=444476, prcopy=113754, przero=326761
   daemon and swap counts:
     woke=0, revs=0, scans=0, obscans=0, anscans=0
     busy=0, freed=0, reactivate=0, deactivate=0
     pageouts=0, pending=0, nswget=0
     nswapdev=1, swpgavail=1152017
     swpages=1152017, swpginuse=0, swpgonly=0, paging=0
 


Home | Main Index | Thread Index | Old Index