From nobody Tue Sep 03 10:27:08 2024 X-Original-To: dev-commits-src-all@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 4Wyhd84gwRz5MkcX; Tue, 03 Sep 2024 10:27:08 +0000 (UTC) (envelope-from git@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 4Wyhd83XTMz4sbH; Tue, 3 Sep 2024 10:27:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359228; 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=I8v98jDd30Hm6ZmS9vjXszGztSS881o1Gv5v1licQIQ=; b=Scd0GSLrBuncAHgLUerWkj/+Bi4frNivaHFhcy+JCPK/9v+TxGBk5PFqyMoIq3tl8aAtsv ml4Z2AmlMDkzgP2oKkiGw+Rg8eY8JYlzDO/I3sW03LXLI61CTBHLTt4YiWUaAbMZGYBUxK I8QArFjE1NKgOJfOi6e6Mxxi92In9HwWxe5OrAHdpzIBDhJSWVxN0OfTA/ARCssad82PQz hqVqeUnfktl4+aNhDbfku+rsAb7kpIkrC/W20IooxpYnNw02SY0HgNXKPdZ+Mil0Fnf1wK +kCFF/wT/zbdJYKMSTQUb9cj3SL4GHmJY++xV/u6KJeBZPSC8lsyJQkptfyODQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359228; a=rsa-sha256; cv=none; b=JCrFEm/adz8uFhubzskw7PTmczqb/r4kpX407xyxnETTZ91J2QPVGiyYa5Q5Yup7Jg88wy Z6XZXgqV9/XaZpvqbqbP4m0N8rGpOybTF1jMCznG4wsLYV6AU++ZBXuinHi3BeatvU7frN /071yhqgOcMJm3HoBUME6TKDZcC6UlSK+J1ev13VbmJ02glVn8peyI7Zy/qVTLd/eP9Hb7 bhJC1qCeQlVYwk99gITUe//lgsg1R+1uWWjf0bGhHqKoJm62bTS+noADYo+SAbE8ZTHi3f /FzpfApni6mu3d/Jtahq3txmTsuJKVLFL5hZod60okvN2BAipRvZpWlXh4eYgw== 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=1725359228; 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=I8v98jDd30Hm6ZmS9vjXszGztSS881o1Gv5v1licQIQ=; b=NS3AgV/Y3QZP5wjToOEHHAgXmjmZhH2l2yRS664qtNDdnByL/9rAD+LHkrhYnf3P4xbBOC DmOFRMzpYkFD/lUGn2Jl+4hImebEYsj4lR8luTeIAwZRSArtS4/kIdo+fiIpy7AEkm5mRo k2WUSzVNuhKW+GqBsCE7XvdO2EOyeoJ7alDMnBgXO89ohH+eTRRfMb3nyt06oYlLvzSN54 gSm9ox2/lNAMuoj2yEWCptuJFjS0HD74tEjLgk5l1LlzxThSvQblwE3+FjD0bRjDLcEOXS FtFz/jxKrUrYt18BkzR6XCBFYfsltWxSic8JpF9Sd/+/dEmKEEb/yF/dRzGFWA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Wyhd83932zcFd; Tue, 3 Sep 2024 10:27:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 483AR8w4009827; Tue, 3 Sep 2024 10:27:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483AR81f009824; Tue, 3 Sep 2024 10:27:08 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:08 GMT Message-Id: <202409031027.483AR81f009824@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 955b380365af - main - cxgbe(4): Stop checking for failures from malloc/mb_alloc_ext_pgs(M_WAITOK) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 955b380365af174b3d35905b7b8afae97506a0bd Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=955b380365af174b3d35905b7b8afae97506a0bd commit 955b380365af174b3d35905b7b8afae97506a0bd Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:26 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:26 +0000 cxgbe(4): Stop checking for failures from malloc/mb_alloc_ext_pgs(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 --- sys/dev/cxgbe/cxgbei/cxgbei.c | 3 --- sys/dev/cxgbe/tom/t4_cpl_io.c | 5 ----- 2 files changed, 8 deletions(-) diff --git a/sys/dev/cxgbe/cxgbei/cxgbei.c b/sys/dev/cxgbe/cxgbei/cxgbei.c index 04454a98e247..ccca45f5f761 100644 --- a/sys/dev/cxgbe/cxgbei/cxgbei.c +++ b/sys/dev/cxgbe/cxgbei/cxgbei.c @@ -842,9 +842,6 @@ cxgbei_activate(struct adapter *sc) /* per-adapter softc for iSCSI */ ci = malloc(sizeof(*ci), M_CXGBE, M_ZERO | M_WAITOK); - if (ci == NULL) - return (ENOMEM); - rc = cxgbei_init(sc, ci); if (rc != 0) { free(ci, M_CXGBE); diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c index cb229d327386..0a40bbda3f3f 100644 --- a/sys/dev/cxgbe/tom/t4_cpl_io.c +++ b/sys/dev/cxgbe/tom/t4_cpl_io.c @@ -2127,11 +2127,6 @@ alloc_aiotx_mbuf(struct kaiocb *job, int len) break; m = mb_alloc_ext_pgs(M_WAITOK, aiotx_free_pgs); - if (m == NULL) { - vm_page_unhold_pages(pgs, npages); - break; - } - m->m_epg_1st_off = pgoff; m->m_epg_npgs = npages; if (npages == 1) {