NetBSD-Bugs archive

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

Re: kern/57171 (altqd takes 100% of a CPU when daemon is stopped)



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

From: =?UTF-8?Q?BERTRAND_Jo=c3=abl?= <joel.bertrand%systella.fr@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, riastradh%NetBSD.org@localhost
Cc: 
Subject: Re: kern/57171 (altqd takes 100% of a CPU when daemon is stopped)
Date: Tue, 1 Aug 2023 12:03:45 +0200

 [Switching to LWP 6565 of process 6565]
 qop_clear (ifinfo=0x75c271ca3480)
     at /usr/src/netbsd-10/src/usr.sbin/altq/libaltq/qop.c:468
 468                             LIST_FOREACH(clinfo, &ifinfo->cllist, next)
 (gdb) print *ifinfo
 $1 = {next = {le_next = 0x75c271ca3360, le_prev = 0xfa418b88 <qop_iflist>},
   ifname = 0x75c271ccc0d0 "_re0", bandwidth = 0, ifmtu = 1500, ifindex = 4,
   enabled = 0, cllist = {lh_first = 0x75c271ca34e0}, fltr_rules = {
     lh_first = 0x0}, resv_class = 0x0, qdisc = 0xfa418740 <cdnr_qdisc>,
   private = 0x0, enable_hook = 0x0, delete_hook = 0x0}
 (gdb) print ifinfo->cllist->lh_first
 $2 = (struct classinfo *) 0x75c271ca34e0
 (gdb) print *ifinfo->cllist->lh_first
 $3 = {next = {le_next = 0x0, le_prev = 0x75c271ca34a8}, handle = 0,
   clname = 0x75c271ca60e0 "cdnr_root", ifinfo = 0x75c271ca3480, parent =
 0x0,
   sibling = 0x0, child = 0x0, fltrlist = {lh_first = 0x0}, private = 0x0,
   delete_hook = 0x0}
 (gdb) print ifinfo->cllist->lh_first->next.le_next
 $4 = (struct classinfo *) 0x0
 
 	I have rebuilt a clean tree, I always obtain <optimized out> for locals...
 
 	Best regards,
 
 	JKB
 


Home | Main Index | Thread Index | Old Index