From nobody Mon Apr 15 16:23:52 2024 X-Original-To: emulation@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 4VJCCr5QXdz5Gv7F for ; Mon, 15 Apr 2024 16:23:52 +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 4VJCCr42jbz4vWm for ; Mon, 15 Apr 2024 16:23:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713198232; a=rsa-sha256; cv=none; b=dtQTPYux/V8Mf+ZIMNKmBmOudTg2n1EZlub7UYwnRD+OLCbgE2zGvMDm1mbc+N6NtaE+2l A0690+7AzLM42eXvfbQkQ27Ug0Arj4rYK707ULdbcI7SaKxV58Z32uiEKwvnFFSIMsxiCx eRjWho5Yh4iwI1nDmAR9PC/pYqenp3galwb5P0uFYNnNDJSYgEDgiiHz+2OHcB3ICj6PYK lRajqQZ+m5TrpjiJw+QhCtU+YHmJ+WrON79EPgxkvVaz6euYLT+tJRR12jxydelV3NZ0Cj Bs2vCrYJz3Fl+C2hLA+Tp8+r8vfIiWn3ordlxb/7rRQMMhQcUMO8Bz+XTMgPfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713198232; 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=YZP8JRaFfADx8Sp/doSYckwQlETtnJ+U7k6Hhmnqv2s=; b=FOsFNccGZv/+Y8hliBgFJ4i+hWhSPB+Mr203XE2ZUTrw6aicpkOxb4ftU7vi+4wiXtnPyE 9DlvimpXacch+juurc7cTBhuRXe4B8vrZT7qav2xcWIfUH/h0GqadXXnzOyRC9+0tFBI6o P2Oov8S6ls0CL/RCPi4l3lPXTIl4GHnBkWuTGHizI7VEDPSomUo9ptoQKtxoFz0DT9cDXk wn/jtuACYhogUYmGLrI/s9RiXYve54TUvewzn+CNez3kY3QoSpmPOH8kjLOtXDfyggWj2Y f1KJlxkRxjF3ObMw9reqNNZxhK1cdAJvJ4WXi4UVqbNaMBYfvYI/kJWpvc1vqg== 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 4VJCCr3dMSz162x for ; Mon, 15 Apr 2024 16:23:52 +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 43FGNqoD086970 for ; Mon, 15 Apr 2024 16:23:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43FGNqA0086969 for emulation@FreeBSD.org; Mon, 15 Apr 2024 16:23:52 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: emulation@FreeBSD.org Subject: [Bug 278365] Linuxulator is missing EPOLLEXCLUSIVE support Date: Mon, 15 Apr 2024 16:23:52 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278365 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Ed Maste --- >From Linux's epoll_ctl man page: Sets an exclusive wakeup mode for the epoll file descriptor that is being attached to the target file descriptor, fd. When a wakeup event occurs and multiple epoll file descriptors are attached to the same target file using EPOLLEXCLUSIVE, one or more of the epoll file descriptors will receive an event with epoll_wait(2). The default in this scenario (when EPOLLEXCLUSIVE is not set) is for all epoll file descriptors to receive an event. EPOLLEXCLUSIVE is thus useful for avoiding thundering herd problems in certain scenarios. "one or more of the epoll file descriptors will receive an event" implies t= hat we may be able to provide a naive but conforming implementation that just ignores the flag (at least initially). Are you able to apply a patch, build= a kernel, and test? --=20 You are receiving this mail because: You are the assignee for the bug.=