[Bug 278826] [hpet] cdev->si_refcount leakage when enable hpet as timecounter hardware
Date: Tue, 07 May 2024 12:28:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278826 --- Comment #6 from Austin Zhang <austin.zhang@dell.com> --- (In reply to Konstantin Belousov from comment #5) will you also check si_refcount? I believe si_threadcount is correct but si_refcount is not. below is my dtrace output: [root@freebsd-main ~]# dtrace -n 'fbt::dev_ref:entry {printf("[%s]: invoke dev_ref: %s, refcount:%d threadcount:%d", execname, args[0]->si_name, args[0]->si_refcount, args[0]->si_threadcount)}' dtrace: description 'fbt::dev_ref:entry ' matched 1 probe CPU ID FUNCTION:NAME 1 43845 dev_ref:entry [uname]: invoke dev_ref: hpet0, refcount:42494 threadcount:2 1 43845 dev_ref:entry [sh]: invoke dev_ref: hpet0, refcount:42495 threadcount:2 1 43845 dev_ref:entry [atrun]: invoke dev_ref: hpet0, refcount:42496 threadcount:2 -- You are receiving this mail because: You are the assignee for the bug.