From nobody Wed May 25 00:19:13 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 71D791B3D16F for ; Wed, 25 May 2022 00:19:14 +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 4L7BWj4MVvz3nRD for ; Wed, 25 May 2022 00:19:13 +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 047656A54 for ; Wed, 25 May 2022 00:19:13 +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 24P0JCSV061969 for ; Wed, 25 May 2022 00:19:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24P0JCEo061968 for bugs@FreeBSD.org; Wed, 25 May 2022 00:19:12 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, 25 May 2022 00:19:13 +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=1653437953; 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=/68TcxOMe9pZUI6yCBPT2RqxPFaVVls2rHeniOTblVg=; b=HjH9LoDu5APPcQD+pOrHjQjltuhVnzAELAB4G3zRogxsgHItZV0gqOmIoLKXrHA7v1J72b pgFyYRsvz/Z4rBHTQl7/3//o26o4dPH0TxASa1c1Eb0JKUKOhHiou7qD5d2jWbPLqpDGzB myshvrZTCbi/lqqLg9J1BaqC63HAqSSpOKTQy8jR3mR3z1pXfzhtmPHTOFb0tzTiHWEKye KlVB18tPwttSylc4y1+XGUCG/i5lJ9ELn9ilgtU/pBggK06/2sLWadf3I22jJF7G/14UuT 0/7aErXtvMHV4+4dg0pvWPcFx6Gnnq9nlYtQvl32eLm2gR5NpB2m+r8f5L/6eQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653437953; a=rsa-sha256; cv=none; b=WgFBWmxk9u8QeYE2lFo8r9ZmkpR+vKuONWB5x9fAAZot7huOIPqY0msNf21MTgrgWofB1n wnlhxGJdlSFij+7YMn2b5m2Y9rKWkVsSbWEsASqF0fHei6DaJ9wmuPfeT/V3d0DJdK5b1J Npz2f20QGUMq4daQf5RkbMq+YtB/VTLl5qklWNTUnDotu9dwi44TDvY57auP3IHT/GVmav F7YPL+OPjQ+OpeJOzojsneMPTv9+PcGAcFJqMm/DMuwvXg/JBQHSxzIhuAoO3sRatrS8z+ HjU92DR8vfg9vOzAFmsz87vCgfK6aFwcVbqTBeyAsGoULIwOtfKZFyo2ov2+Ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258412 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dd6d4f9b45e0be306bdaf53b2133b2cd0f= 7642167 commit d6d4f9b45e0be306bdaf53b2133b2cd0f7642167 Author: Mark Johnston AuthorDate: 2022-05-25 00:16:32 +0000 Commit: Mark Johnston CommitDate: 2022-05-25 00:16:32 +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 MFC after: 2 weeks Sponsored by: The FreeBSD Foundation 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.=