[Bug 278826] [hpet] cdev->si_refcount leakage when enable hpet as timecounter hardware
Date: Sun, 12 May 2024 01:14:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278826
--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e93404065177d6c909cd64bf7d74fe0d8df35edf
commit e93404065177d6c909cd64bf7d74fe0d8df35edf
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-05-07 13:23:28 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-05-12 01:13:00 +0000
cdev_pager_allocate(): ensure that the cdev_pager_ops ctr is called only
once
per allocated vm_object. Otherwise, since constructors are not
idempotent, we e.g. leak device reference in case of non-managed pager.
PR: 278826
Reported by: Austin Zhang <austin.zhang@dell.com>
Reviewed by: alc, markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D45113
sys/vm/device_pager.c | 70 +++++++++++++++++++++++++++++++++++++--------------
1 file changed, 51 insertions(+), 19 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.