From nobody Mon Nov 7 17:17:14 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 4N5dFl2PfVz4hS2t for ; Mon, 7 Nov 2022 17:17:15 +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 4N5dFk5wPvz4FSp for ; Mon, 7 Nov 2022 17:17:14 +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 4N5dFk4skfz18Hn for ; Mon, 7 Nov 2022 17:17:14 +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 2A7HHEa3062910 for ; Mon, 7 Nov 2022 17:17:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A7HHEge062909 for bugs@FreeBSD.org; Mon, 7 Nov 2022 17:17:14 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 267621] panic: page ... already unswappable Date: Mon, 07 Nov 2022 17:17:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vangyzen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1667841434; 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; bh=Lo7vz1fNJ8hIBgxASJIIKuS9IQcih72pDgR6mnxApNc=; b=vipRZSLPvCJhQyXrKxdhMhpsjZcx8ivA39UuOydpp+FdXB0w7HSfsoYvwbuKA8g4Q/lPKq MN7TkQpycGvklQYDSe1c12yjBlkebygCpOFTlrFrVy2dM9pkIKTqji1pEwm4Qm/h0RIxeD y7jM6boBXplla1uHaNm5U++ll/DGHUSDsulom8TC5/edxzhxB3J1BKYMtbc4W72TEEdhc5 mrJP8nVM24Xfs3ofPV8pANPNVde2bfBRAYNIQ4aeV5iiErbYEJcXVsbriALGs+Np6yrwgk m+GrWySrChFrYjIu69dQiSfT88ugMdh/IuowAUire/qtSOuApp5BFSZsRCKl3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667841434; a=rsa-sha256; cv=none; b=JSnECpDZw45D1WW7X0pA/dgFuRKwSTAnoxzzJhKkxtI8VLZe9HBdmDQQP7VkVFjqi9AMfl sBCh0xDa5gJ+U249DQFU2C6dRL6FWlJUCidPgmfN4qpGWFaWLlzHNo8DAJQTqpQ7UFvxdq 5X2GoRuf9TyoSKAafLanrfSHXs/pJMoHzUaFpCTEcif5UY8RD2ATSBKXh66W0jCwEKGkI0 rljKAqiD/4AL4bxJeq+v/I9Aj9m7ke6RpdAhJ2H6qm3Zn2C+UHg/64MT/ie3786OCKS748 GvaW/Sh8qFort/Z4kvDBVEmx+8Q3+0HMvaNyQA0caIJoIi1h59Vd/V/oJBgyYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267621 Bug ID: 267621 Summary: panic: page ... already unswappable Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: vangyzen@FreeBSD.org We saw panic: page ... already unswappable on a downstream codebase. The page was wired. Another thread in physio() = -> vm_fault_quick_hold_pages() -> vm_page_wire_mapped() had just wired it. Can we simply relax the assertion? Or should we test for a wired page (with appropriate synchronization)? This is trivially reproduced by adding vm_page_wire(mc[0]) at the top of vm_pageout_flush(), which seems to be a fair repro due to the lack of synchronization. --=20 You are receiving this mail because: You are the assignee for the bug.=