From nobody Thu May 08 15:36:18 2025 X-Original-To: riscv@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 4Ztbnt59HLz5vDgl for ; Thu, 08 May 2025 15:36:18 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ztbnt4jRDz41Zd for ; Thu, 08 May 2025 15:36:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746718578; 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=C0VEq+z021nv6So+VR4hLoJ1k2xVz9tQBhos1RiLH5I=; b=fuWEDjPSQwz0snSzhNhO+ff1PLv5OenPzYtBpahnSWvuvnXGw/KDSLdjg+mRLl3HATn0yA 3rQHjr6OFSBGBf/kiaFSYeGP2H5ObcMC5DJqO80af16nJovne42h7ExOOJEERDUd+5iLys 4MfNPzhIfBEYEs7cXSleem5fEX8azvC+yckT+tivGTqKsRA64a8qD83QpapMw4AITd6280 f3xHcRt6LXLpGWcedtZyiuZFV27uP/D0CECYX1Bp7rIJJdHuQNpFIBu2CmVV9bmsDTJ3WN tl1DD458gPszCsfPsWLN9nVkGefmHixKWvfHJFZJIjhQt0fuU1nor9raQSygKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746718578; 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=C0VEq+z021nv6So+VR4hLoJ1k2xVz9tQBhos1RiLH5I=; b=IO7jU0D8GUAPzsnZiOZx5l+aYt7v2v2G8CdeS8YpG7pI1dwlat6PQlptdnXYFKx+0xzi5/ JD/+IwrDKv1RZB419h9tFqgUQneEYdcozjvA/AIAbCx+C2j7vu0Ff3mNTVlMHqI8QX4mOD oIK5ZSim3XK6plHr8svtRsZWJFP3q2cfEmZfyYKwm9gAwwclFiPsG1Z8KTz869KRV6Vvhs LQhuR3VoRy64LXqmq0JBsJpVpAcGsg1QE+CnTfIF5bGQsvkPTbYg0qDUVfRwpBNutPHnJZ F6zQdtpHMJ/RwbEG767PdSiEyqufSzTDAH87SfKhUhGF5weXmwTiguuBrIQOOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746718578; a=rsa-sha256; cv=none; b=K3a2SQZxJ+D/YPvS17xdJV+4a554Bctn1D4FA+rDjitajOU61owKXamxiBG4Uf0KF9U9ha 3tb5Gwq6QfVNtZymO+gWlaZJ5N7gi8qDDhgJ2X6RDgYGzXJ0zsDUUcw7zUU/WyJituwLIU Yls+cg6HQSbSyd+GVNYbk/L91HsN1osJpU3oK38ZEnadZKwbt4sJK7WrUtU9bl6qygaXTs ALgW7i4s/OS36nHQLe9UgOZmco5yvZgv0Y4KTnn2/9f4N0r3dvwKyxE0epy8naMTkChXAg O6n3FQlbH/17PjpzP5sBQk6yvxEKKAL9N/0iz/1uCNJHQMMF4KeMyiLG+6ophQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4Ztbnt4BrPz5Vg for ; Thu, 08 May 2025 15:36:18 +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 548FaIgJ088660 for ; Thu, 8 May 2025 15:36:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 548FaIvf088659 for riscv@FreeBSD.org; Thu, 8 May 2025 15:36:18 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: riscv@FreeBSD.org Subject: [Bug 284743] System reproducably livelocks after a couple of hours in poudriere bulk -a Date: Thu, 08 May 2025 15:36:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: olce@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: riscv@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284743 --- Comment #23 from Olivier Certner --- (In reply to Robert Clausecker from comment #21) I'd say it's quite unlikely. There's somewhere (but right now don't remember where) a mention that the reason for not allowing every users to use idprio is the risk of deadlocks.= =20 I've reviewed quite a lot of code related to idprio (and also have lots of changes, yet uncommitted), and that convinced me that deadlocks should not = be possible as if the kernel has to sleep to obtain some resource, it will normally boost its priority above the idle class and will eventually make progress even on a loaded machine (if it's not hold by realtime processes),= so even if it holds another resource itself, it should eventually release it. = I might have missed some problems though (or maybe I've already "fixed" some = I've forgotten about in some now-old uncommitted code). Did you tweak `kern.sched.static_boost`, or other scheduler tunables? I would anyway follow Mark's advice: Try without idprio and see if you can reproduce the deadlock/livelock, to determine whether this peculiar configuration plays a role here. --=20 You are receiving this mail because: You are the assignee for the bug.=