From nobody Tue Nov 15 17:37:36 2022 X-Original-To: freebsd-arch@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 4NBYKp5dqyz4hKPJ for ; Tue, 15 Nov 2022 17:37:50 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBYKn5nhHz43Vm for ; Tue, 15 Nov 2022 17:37:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=jT5+uixs; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2a00:1450:4864:20::633) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-ej1-x633.google.com with SMTP id k2so37901812ejr.2 for ; Tue, 15 Nov 2022 09:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IT/T+OzSRuG6oLX73iqAd8Hrn+UT/owsdaUOUTt8OIc=; b=jT5+uixsdgju+4kR+2Bq3wrbTPRCD27b0wEe2xhTxe32MwNqXz0h2QGMUUJtnlD4Sz 2XHlZYM20vjvAd0xnmqe9a7XxGiFRZA30YJ3J3jf8PFhW7+oapt/MHs8FYLKJeBJIj2a h7ZQIqHKPboV0bluNxM+ACvFCOUlcTcE/mQbFx+C33aFaB6W2XtWVrEkGSsmrgnBFQHy hhCY33ZvPbSmrtwtm8QgmrA476GIzZoAzhFHcLKvVf0Inj1cMoTmnV0zuuENA7vWvizL 53AJRtDeY/H8zAecQoEEypJ31oVD3w9veF+Iwse2DjiVJT5dpx5wDreQCiSs2zhV+zOp pYZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IT/T+OzSRuG6oLX73iqAd8Hrn+UT/owsdaUOUTt8OIc=; b=sGIY/EfjSRGaQlzvnTGVi45B+XfTfn4p/1legt/8k5tZKvvqTXZ7rI3Ukh8pS4gbK3 9D3xhU523UIYU7lsdgsDCXfx8k72rhNeiaQbcyCBht5+4SsPMEuLGn2lI7qEQQoURavz sUcdG8fUjuauBMbDYpPn8VAKp+4Anhlc6/aDwDcJhyQPY5BqcBLY5wWIENNHwwcUI7V/ aHP+RDSsIL4L6x/Hs0r3tBCYqNJ8pfFeKQy5wQluDn/S+ewoWZzZahifYrtcR0Z9YjJ1 XWYoiJ5J0xA1Y3VPoD3xkgKSdSODkOrMSlfLVpc7HqoDxpG+iquY5dvSKxm1giajOQd4 0iWg== X-Gm-Message-State: ANoB5pmDKWYzw+Tq+QmtUrjyE3eNusFucOfPy3x28d50oq7r7SAGPsG0 AmTFfgXGO1GHbi6RmKfv2zm6cv5IWBRb1pIEWFosSKBjdJs= X-Google-Smtp-Source: AA0mqf5I6WvRBcUZWphnCj0iSSKFbXOWvhByZ6uGYF7o+0aDYvBsKTKZGagyN+4quCbTM4yJ33EcMUI+LOHzRGbiw4Y= X-Received: by 2002:a17:907:6f06:b0:790:b74b:abf2 with SMTP id sy6-20020a1709076f0600b00790b74babf2mr14674217ejc.634.1668533867579; Tue, 15 Nov 2022 09:37:47 -0800 (PST) List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org MIME-Version: 1.0 From: Warner Losh Date: Tue, 15 Nov 2022 10:37:36 -0700 Message-ID: Subject: Giant Locked drivers To: "freebsd-arch@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000079261e05ed85d014" X-Spamd-Result: default: False [-2.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_SPF_NA(0.00)[no SPF record]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arch@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4NBYKn5nhHz43Vm X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N --00000000000079261e05ed85d014 Content-Type: text/plain; charset="UTF-8" Greetings, It's no secret fiant-locked drivers' days are numbered. We've been more sluggish about eliminating Giant than had been hoped. I plan in the coming weeks to add a tunable 'debug.giant_drivers' which initially will be set to enable/disable giant-locked drivers in the tree. When set to 0, you get today's behavior. If set to 1, it will no longer allow drivers that don't request MPSAFE interrupt handlers from registering (the interrupt setup will return an error). This will allow us to understand what is lost if we throw the switch, and allow users to proactively test their systems to see if they are affected or not (and if they are, if they want to live without the functionality, or want to fund work in the area). Comments? Warner --00000000000079261e05ed85d014 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Greetings,

It's no secret fiant-loc= ked drivers' days are numbered. We've been more sluggish about elim= inating Giant than had been hoped. I plan in the coming weeks to add a tuna= ble 'debug.giant_drivers' which initially will be set to enable/dis= able giant-locked drivers in the tree.

When s= et to 0, you get today's behavior. If set to 1, it will no longer allow= drivers that don't request MPSAFE interrupt handlers=C2=A0from registe= ring (the interrupt setup will return an error).

T= his will allow us to understand what is lost if we throw the switch, and al= low users to proactively=C2=A0test their systems to see if they are affecte= d=C2=A0or not (and if they are, if they want to live without the functional= ity, or want to fund work in the area).

Comments?<= /div>

Warner
--00000000000079261e05ed85d014--