From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 489C346A9C for ; Mon, 30 Jun 2025 14:26:23 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 432CE4065C; Mon, 30 Jun 2025 14:26:23 +0200 (CEST) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mails.dpdk.org (Postfix) with ESMTP id EFC074025D for ; Mon, 30 Jun 2025 14:26:20 +0200 (CEST) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4537edf2c3cso42842775e9.3 for ; Mon, 30 Jun 2025 05:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751286380; x=1751891180; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=keQHg83vDPl9rDIbnXprQs8bEC6kdbSXt2Z+4Dpc5kc=; b=ko6HJOt+O2GmaAugtU1UB1ztdz0dCzJPwYHOMjdpM6oL15cbzObJnHnf/1w29QuxDh wJ61IXnplC73rPM4BQiuw5QT60ugtzTG6/1E2VLU8HFPkS5/LDf1FrPe9UIIy66yDjbN uOwP2Z0p6aw2mphUBN0FUZKg2zvn9nVJ5fJYi6Jg7GuN+NTl54KaAXYgaFJTBzFC1PrG 83C2mJ5PLLoIndHeRx2rkflNg8bX+9mHF2BrP1c5Zq4oYQ74KiQUNJu+0vqhMplxDJ+P k0Zkln6N66OPARl8Ac8i6/E04WX1qR0XakMsP6w2hBdMjUrCQmeYoN8WhwSE/6/cj/KL 72GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751286380; x=1751891180; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=keQHg83vDPl9rDIbnXprQs8bEC6kdbSXt2Z+4Dpc5kc=; b=CM5rNkTFojkVVLHeSFgfT4HbxR0XPmzXftavzPZUGFeIHohwZGLz+/aXYO0iiS3/Jr guS0AojOK0lmGB6i26MseMsubRRn6MSMKGTre7MHigpO52nnYcITehNpCYZIFd3BmI0m q0wjQQvdnkyDNzYGJ3c7WM5VqSblV2VmVvkRlxMph3qaxTOxRblt+cbvAZ/tEFPALXDI D9u+bYiST+5QeQO7vPWBHmqQJr11LZ/U92g0zPnRnhzTuhcu27ctsldbKmdRDvSRvc9I 6uT4BfgZjfKoTUrCtiJeXSbAI1mmxEU0YZDvxvs5V9qEySNH6Vt26rSSDy8O7FH1u9Cg i5zA== X-Forwarded-Encrypted: i=1; AJvYcCUUwbx++9Lr0pR19J/9FOvHVTMaKinGL97NEIAeT1fpgyLl7zd2QcrN2/5H5vny1b5kRuyOOYU=@dpdk.org X-Gm-Message-State: AOJu0Yz778aXaI+vedyCDaO+S/Cwkw/94e1XTm2jUptIgtaO9xN4r8z/ vlwgoYEeaaS+M+BLRMjF5mgKcw87rsXnUxm4hEObwnEIWs82slAvWZM4fmFYkVTt X-Gm-Gg: ASbGnctLZPoNx3dgKsRxnUAQi30nXvx9annuHH4n/HJFAec2izMn5pZA0RbiuM5Q/Ff 1uCxchAJcLDfQhzQ6tFq5kbj/CBhQE7Um1IY5/YmTU5U+VJvt5aJZPYNMMHWLNtxi6TsmLMgbUa tVMdUmohvHIVk9Y5s0VKpnctQeWSBH7zm7GQJbZuPpWqxB/KYYQKl+Dj1A5mFxaIJgtZJeRRfEQ oeYWNZHy+XZLKfzSO9R2NmLty94yKdFUeuz0JJxousYjoSXmE50CCL2rZ6eMII8kqMdg5aoYaJr RvrGFTXWGfaaY21ur/vdZq2i5xw3BQsSXLZ+L+/I2gDzOgNO3S5k6LZwJT11EbtKvYw= X-Google-Smtp-Source: AGHT+IH3wWnspwxglfLZZl3BEvmpuiIo8HKqsj9HeBYKjUPlXV7ikC6sSog5ABeUju6Mr+zaQpP28A== X-Received: by 2002:a05:600c:524f:b0:453:8bc7:5cbb with SMTP id 5b1f17b1804b1-45399ae66a1mr58537585e9.25.1751286380339; Mon, 30 Jun 2025 05:26:20 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:ded1:f637:68f:c2a6]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-453823b6c21sm164169615e9.29.2025.06.30.05.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jun 2025 05:26:19 -0700 (PDT) From: luca.boccassi@gmail.com To: =?UTF-8?q?Morten=20Br=C3=B8rup?= Cc: Anatoly Burakov , dpdk stable Subject: patch 'eal/unix: fix log message for madvise failure' has been queued to stable release 22.11.9 Date: Mon, 30 Jun 2025 13:25:40 +0100 Message-ID: <20250630122556.1133654-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250630122556.1133654-1-luca.boccassi@gmail.com> References: <20250612210733.2506558-72-luca.boccassi@gmail.com> <20250630122556.1133654-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/02/25. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/e84ca357ac432bf02bc84f34730a0b8b50616395 Thanks. Luca Boccassi --- >From e84ca357ac432bf02bc84f34730a0b8b50616395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Br=C3=B8rup?= Date: Tue, 24 Jun 2025 08:03:31 +0000 Subject: [PATCH] eal/unix: fix log message for madvise failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit 58d5d5e8269055b6bb11b18fb5897fee3fa73363 ] In eal_mem_set_dump(), when madvise() failed, an incorrect reason was logged. Fixes: c4b89ecb64ea ("eal: introduce memory management wrappers") Signed-off-by: Morten Brørup Acked-by: Anatoly Burakov --- lib/eal/unix/eal_unix_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eal/unix/eal_unix_memory.c b/lib/eal/unix/eal_unix_memory.c index 68ae93bd6e..64f0262875 100644 --- a/lib/eal/unix/eal_unix_memory.c +++ b/lib/eal/unix/eal_unix_memory.c @@ -84,7 +84,7 @@ eal_mem_set_dump(void *virt, size_t size, bool dump) int ret = madvise(virt, size, flags); if (ret) { RTE_LOG(DEBUG, EAL, "madvise(%p, %#zx, %d) failed: %s\n", - virt, size, flags, strerror(rte_errno)); + virt, size, flags, strerror(errno)); rte_errno = errno; } return ret; -- 2.47.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-06-30 13:21:22.154174636 +0100 +++ 0010-eal-unix-fix-log-message-for-madvise-failure.patch 2025-06-30 13:21:21.747057360 +0100 @@ -1 +1 @@ -From 58d5d5e8269055b6bb11b18fb5897fee3fa73363 Mon Sep 17 00:00:00 2001 +From e84ca357ac432bf02bc84f34730a0b8b50616395 Mon Sep 17 00:00:00 2001 @@ -8,0 +9,2 @@ +[ upstream commit 58d5d5e8269055b6bb11b18fb5897fee3fa73363 ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index 61e914b8db..650151facb 100644 +index 68ae93bd6e..64f0262875 100644 @@ -25 +26 @@ -@@ -89,7 +89,7 @@ eal_mem_set_dump(void *virt, size_t size, bool dump) +@@ -84,7 +84,7 @@ eal_mem_set_dump(void *virt, size_t size, bool dump) @@ -28 +29 @@ - EAL_LOG(DEBUG, "madvise(%p, %#zx, %d) failed: %s", + RTE_LOG(DEBUG, EAL, "madvise(%p, %#zx, %d) failed: %s\n",