From nobody Mon Sep 30 04:45:29 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 4XH7mT6Dndz5XjvK; Mon, 30 Sep 2024 04:45:29 +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 4XH7mT4JSqz4FPT; Mon, 30 Sep 2024 04:45:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671529; 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=fmBTBPCInDREYQVcIjraSjcJkRcFfD5RerQuwRF9PEo=; b=V21XxbDeU5p+0b8eiVV2yC1HagbZwbqz3lf4FyGtRQDfjsGU5QNj6rB7Wow4UNy/2jbOFt MqDaFZbOjLLW/PHWywe6I+Fr8fts7SQKlv3jIKCr7umLqIm7BQWx39eLbAakOtwMyBe1o6 X3ZCEbkDbLB/tnF2OgOFs3vZ3lX/nIEP1HZvXEsBRnMmA7QJbFdlArFeDAiR4BfoRvUXkk g6NRYiJX0d0Fn/aJPkREP5lsSM7SlKwcmowtDMSeIidmBg1d+to+LjFJ/2YUTfDZPE1+oz xrWUApKWunleFIkxi6BHulpLwNT2Q+YihbhNGYL5eynoBEObompNeE6vu80TsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671529; 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=fmBTBPCInDREYQVcIjraSjcJkRcFfD5RerQuwRF9PEo=; b=W9pDmE4Cawu7PELfqOstD7i8bTyY+m47Bj2H4+by/z3Q+QOwHzwWbfHSY3nKlEpfomKW+8 4D1xQy/d6w2EhYXWtOYK/H83aEr3a0gfm/cAJnyF90/R6m9vI05p2crm8exbDu61UVmHg5 lYQIYTRC5lFs3Mv2vFxuKzlzEN317kSLli4jO2jfCmRa3lEMFV+QVRKuNhfecpBV8IA14X QIsEXEsYtMVH2gFf+UXvyru6X6XUm+P5/yzujItCJt2MRkQLvFuFC6o+JpQSSnxS48KuFm /YFh58a8vliuO5/EgHjuRwO0m5a5oWtj6d47eYSS2d1Vl28VQlGpsiY3jvjvbw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671529; a=rsa-sha256; cv=none; b=tb7HEuFSkD6gJdzn9qqEyidD4D43oZT9dDN3Qj2WCGX8eORZuJgNffdMZNyjXJbNSFJDBk z4e9tMq66RPdm/p9MLrQ3RSJ/Ia3Ia1dG3nux99pFj4hSMb6E6RWPU4FqpERHkVex/wbp8 O093zfv8hK7WhT7f29tzptMxkXvSvUfIlrscegzBrCGF16N0Kf9ZsYhRDV81W1fVmpOZgA V6ttW6Ev1EB2YYWneW3ZYPhgi+7qg/N9PnZcBVRgWgD5YiGpbrEIggS+TRLsT/gsXmUIhv 3Oygi78RKW6cGpCbTKow9clehbUqsGo67QUb5Xb+nln/2pFLq8TgaHcl6IjwQQ== 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 4XH7mT3tv2zf9T; Mon, 30 Sep 2024 04:45:29 +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 48U4jTic087129; Mon, 30 Sep 2024 04:45:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4jTSB087126; Mon, 30 Sep 2024 04:45:29 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:45:29 GMT Message-Id: <202409300445.48U4jTSB087126@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 09ed34449c79 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 09ed34449c795c137d0dd55890486165e2bb0c15 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=09ed34449c795c137d0dd55890486165e2bb0c15 commit 09ed34449c795c137d0dd55890486165e2bb0c15 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:26 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:21 +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 (cherry picked from commit 955b380365af174b3d35905b7b8afae97506a0bd) --- 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 193d58f9eda4..4ae0e4da717b 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 842e72bf8b2b..0d42c89dcf93 100644 --- a/sys/dev/cxgbe/tom/t4_cpl_io.c +++ b/sys/dev/cxgbe/tom/t4_cpl_io.c @@ -2125,11 +2125,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) {