From nobody Tue Jun 28 09:11:21 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 00DF4873294 for ; Tue, 28 Jun 2022 09:11:22 +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 4LXJk140Bbz4q3S for ; Tue, 28 Jun 2022 09:11:21 +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 6A03E1A2A5 for ; Tue, 28 Jun 2022 09:11:21 +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 25S9BLvr005959 for ; Tue, 28 Jun 2022 09:11:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25S9BLWu005958 for bugs@FreeBSD.org; Tue, 28 Jun 2022 09:11:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264867] kevent EVFILT_TIMER, timer expiration with twice the period Date: Tue, 28 Jun 2022 09:11:21 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: felice.tufo@gmail.com 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=1656407481; 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=qyN0FyYGRQd00sX4LWLXear+EMywXxH68NhDwgtxxTY=; b=gCOZuZc4EM96UbS1FwcStvHIeMqBrcGCztBcb6n/toXxWkfjKKuFm1pKe6IAa214aMbw92 CeMjuWcq9ud8yRI0MDoi4fTf+hrKqltY13gqShLjs3hS4B//oMm3VOgu7SzNiHrN9HN4RH sKNHXs9R/Carc92t6n8pkB1MgRp6TSWa9SwPI4zP9JU/opLNhZe1hyE/aNBZWlnrxhlRGC +a4gx2ZzTx3S5kP0VhVRBebvRMD7Io58Eq1y/9KuqYwmFBfC66sldCaTmQlI77hPWeahBl 9UzJ1hWjPxCrH4z1MRaPYTo9d1I+QF+wOJapyIuA0Sw266T7y1pzAb9lSs7rdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656407481; a=rsa-sha256; cv=none; b=L26UGZK9ZsMZqgV4sgdObDkypfn4FJz3/zJh/58f5ibkja1+gdeOtPHeBQ8YZD2F41bAPT v+9mzMp2/D/Vl69Hkxw5frSbSi/3EvTFg0rl3y65bqJ3+tjYaDKjZC6q/4CmmfgELJ3OaK qkpTRLatsUYg68/wkKxI6KW6saTs4oAxB6jHpi78KaBAc/HhCBQueOPH6sja6UlepRluWI MQ5fFW5iDqgkJYsSnYhGAbB+q6VqfFTfB96NCF/NyHVHJYBFLjOuenN0hFgDPPRUdbnn5S bENqougYT6lTfWN3Q8OChUJAW0yslCcTrTSl6hnVbknDijhFDaLHchbjPSqYTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264867 --- Comment #4 from felice.tufo@gmail.com --- Hi Mark, I tried running my example setting EV_ONESHOT too; in my case the problem w= as still showing but it could be only a matter of test duration. I also tried to write a kernel module using the callout framework directly:= I noticed small extra delays (1-2 ms) every now and then, but never big delays (twice or more of the programmed period) as in userspace, so I agree that t= here could be something "strange" going on in the kevent layer. I'm waiting to have some hw available to launch the test on different syste= ms. --=20 You are receiving this mail because: You are the assignee for the bug.=