patch 'mem: update comment on virtual area reservation' has been queued to stable release 25.11.3
Kevin Traynor
ktraynor at redhat.com
Thu Jul 23 19:15:58 CEST 2026
Hi,
FYI, your patch has been queued to stable release 25.11.3
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/27/26. 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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/5a2000e0423b2c3727b7b0173e9c124e9e71fa10
Thanks.
Kevin
---
>From 5a2000e0423b2c3727b7b0173e9c124e9e71fa10 Mon Sep 17 00:00:00 2001
From: Marcel Telka <marcel at telka.sk>
Date: Fri, 19 Dec 2025 20:15:54 +0100
Subject: [PATCH] mem: update comment on virtual area reservation
[ upstream commit 83e04ed708b6f3c8aaf775d5d29f0c2811a73a67 ]
The mmap-ing of *size bytes in /dev/zero has been removed,
but the comment was not updated accordingly.
Bugzilla ID: 1853
Fixes: b7cc54187ea4 ("mem: move virtual area function in common directory")
Signed-off-by: Marcel Telka <marcel at telka.sk>
---
.mailmap | 1 +
lib/eal/common/eal_common_memory.c | 9 ++++-----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.mailmap b/.mailmap
index 3e787a785a..1b3e77431f 100644
--- a/.mailmap
+++ b/.mailmap
@@ -993,4 +993,5 @@ Marc Sune <marcdevel at gmail.com> <marc.sune at bisdn.de>
Marcel Apfelbaum <marcel at redhat.com>
Marcel Cornu <marcel.d.cornu at intel.com>
+Marcel Telka <marcel at telka.sk>
Marcelo Ricardo Leitner <marcelo.leitner at gmail.com>
Marcin Baran <marcinx.baran at intel.com>
diff --git a/lib/eal/common/eal_common_memory.c b/lib/eal/common/eal_common_memory.c
index c62edf5e55..b8e0d4c29a 100644
--- a/lib/eal/common/eal_common_memory.c
+++ b/lib/eal/common/eal_common_memory.c
@@ -34,9 +34,8 @@
/*
- * Try to mmap *size bytes in /dev/zero. If it is successful, return the
- * pointer to the mmap'd area and keep *size unmodified. Else, retry
- * with a smaller zone: decrease *size by hugepage_sz until it reaches
- * 0. In this case, return NULL. Note: this function returns an address
- * which is a multiple of hugepage size.
+ * Try to mmap *size bytes. If it is successful, return the pointer to the
+ * mmap'd area and keep *size unmodified. Else, retry with a smaller zone:
+ * decrease *size by page_sz until it reaches 0. In this case, return NULL.
+ * Note: this function returns an address which is a multiple of page size.
*/
--
2.55.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-07-23 17:58:01.371418812 +0100
+++ 0095-mem-update-comment-on-virtual-area-reservation.patch 2026-07-23 17:57:58.716665830 +0100
@@ -1 +1 @@
-From 83e04ed708b6f3c8aaf775d5d29f0c2811a73a67 Mon Sep 17 00:00:00 2001
+From 5a2000e0423b2c3727b7b0173e9c124e9e71fa10 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 83e04ed708b6f3c8aaf775d5d29f0c2811a73a67 ]
+
@@ -19 +21 @@
-index de9b6fead8..af7156cd7b 100644
+index 3e787a785a..1b3e77431f 100644
@@ -22 +24 @@
-@@ -999,4 +999,5 @@ Marc Sune <marcdevel at gmail.com> <marc.sune at bisdn.de>
+@@ -993,4 +993,5 @@ Marc Sune <marcdevel at gmail.com> <marc.sune at bisdn.de>
@@ -29 +31 @@
-index e7d534ed75..91724d0732 100644
+index c62edf5e55..b8e0d4c29a 100644
More information about the stable
mailing list