From nobody Wed Jun 08 00:46:04 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 53CCC8436DA for ; Wed, 8 Jun 2022 00:46:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LHpSD6HvWz4pj2 for ; Wed, 8 Jun 2022 00:46:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9098C255E7 for ; Wed, 8 Jun 2022 00:46:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2580k4Hx048242 for ; Wed, 8 Jun 2022 00:46:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2580k4W6048241 for bugs@FreeBSD.org; Wed, 8 Jun 2022 00:46:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258412] kevent EVFILT_TIMER, EV_DISPATCH lost if event is re-enabled Date: Wed, 08 Jun 2022 00:46:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654649165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NEItnUUNZbTeEgB27/cijA2J1PVXtqXzdnvDrNS0A6I=; b=s/tMzrKvb+X+SRqSK7LRVaKT2sGZxt9br/O9kyfzFTb8KpYFaQRQtmrOxqn20472rB+o6/ Ox9kjan1zUwq5gezHC1ZVzanO0DhlljNgqfeT7bLm60PUTYPC9qnchIfWO3YWgTJvYIC6k hAxp5z01qnBRBorgvSXFzcy5FUDL7bA4WwWd11FzjqfPGce/JHgs5UKkTbBV9+/C0IVPgT QxZ2s73ESx8ZqD4eq2bli2/0kGjjPWzjfciXSaljESNCQV9WhsCaRzKV5wR3hRLQa9j6fu 7QM62Y/XNcKG+AmNzeud1Mf3V8Ho42OijOjgndXhg83r8jbZZfkEj77FyzgWDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654649165; a=rsa-sha256; cv=none; b=YLf4z13W1lX+4GBxaU/6H3RBXeUrBomPlKK9nWfqmT9Vn7sJjlj9SpDZw0FKtCgTXBptNH A88PttLnz0Sik8sUz2occCqtRZ+s8hUDAq9eGrRCa0qDtAUUr20pY/todGm7gBOaeQi9Bm NMhWIvJ1FOfXgEHLorFrwRLvZufzvqYDcv4lnVO+pslnxvH+vP0QWzVXjQ6KY4AHdKxO88 H6FlFQn0VClIJs/XxNqoHGQzrKspU7c4YkfH6t9BLJNapsdDx0begjAbL8ZDDQxF9hkK2K p+WU9fr5h3zcaRzsNS1INrsSapHNHraQPLba48sIUuEw2bwA4xinnROX76DAwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258412 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df2ce33a640fddeb0763d4114bc7f06aa5= 21effd0 commit f2ce33a640fddeb0763d4114bc7f06aa521effd0 Author: Mark Johnston AuthorDate: 2022-05-25 00:16:32 +0000 Commit: Mark Johnston CommitDate: 2022-06-08 00:42:25 +0000 kqueue tests: Add new EVFILT_TIMER regression tests from upstream One of the tests exposes the regression reported in PR 264131. One test is disabled because FreeBSD does not support setting EV_ONESHOT on an already-added periodic timer. Though, in this case the flag is simply ignored, which isn't ideal. One test is slightly modified to set EV_ADD when reconfiguring a disabled timer per some commentary in PR 258412. Ideally we would re-import the test suite from libkqueue but there is a fair bit of divergence so this will require some effort. This just gets us one small step closer while increasing test coverage. PR: 258412 Sponsored by: The FreeBSD Foundation (cherry picked from commit d6d4f9b45e0be306bdaf53b2133b2cd0f7642167) tests/sys/kqueue/libkqueue/config.h | 1 + tests/sys/kqueue/libkqueue/timer.c | 129 ++++++++++++++++++++++++++++++++= +++- 2 files changed, 128 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=