|
|
|
@ -1,34 +1,26 @@
|
|
|
|
|
From dd4841701064e7649c0fe70db1d7f322a08215d2 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Jon Maloy <jmaloy@redhat.com>
|
|
|
|
|
Date: Thu, 3 Aug 2023 20:07:38 -0400
|
|
|
|
|
From 2be730cc469be472bc3e3967690a83f1327e9fc1 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
|
Date: Mon, 25 Apr 2022 09:20:02 +0200
|
|
|
|
|
Subject: [PATCH 1/2] malloc: use variable for ZoneHigh size
|
|
|
|
|
|
|
|
|
|
RH-Author: Jon Maloy <jmaloy@redhat.com>
|
|
|
|
|
RH-MergeRequest: 10: malloc: use variable for ZoneHigh size
|
|
|
|
|
RH-Bugzilla: 2228485
|
|
|
|
|
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
|
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
|
|
RH-Commit: [1/2] 7508668d9288ac3a2ed73802fc100c969c2e3784 (jmaloy/jmaloy-src-seabios)
|
|
|
|
|
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
|
|
RH-MergeRequest: 9: malloc: use large ZoneHigh when there is enough memory
|
|
|
|
|
RH-Bugzilla: 2227373
|
|
|
|
|
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
|
|
RH-Acked-by: Oliver Steffen <osteffen@redhat.com>
|
|
|
|
|
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
|
|
RH-Acked-by: Jon Maloy <jmaloy@redhat.com>
|
|
|
|
|
RH-Commit: [1/2] 9e60f2104cc297ed4e78b92c5e5e11e11395bfc3
|
|
|
|
|
|
|
|
|
|
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2228485
|
|
|
|
|
Upstream: Merged
|
|
|
|
|
Use the variable highram_size instead of the BUILD_MAX_HIGHTABLE #define
|
|
|
|
|
for the ZoneHigh size. Initialize the new variable with the old #define,
|
|
|
|
|
so behavior does not change.
|
|
|
|
|
|
|
|
|
|
commit 3b91e8e9fe93d5ff7edf17f984c401f9e6ba55fe
|
|
|
|
|
Author: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
|
Date: Mon Apr 25 09:20:02 2022 +0200
|
|
|
|
|
This allows to easily adjust the ZoneHigh size at runtime in a followup
|
|
|
|
|
patch.
|
|
|
|
|
|
|
|
|
|
malloc: use variable for ZoneHigh size
|
|
|
|
|
|
|
|
|
|
Use the variable highram_size instead of the BUILD_MAX_HIGHTABLE #define
|
|
|
|
|
for the ZoneHigh size. Initialize the new variable with the old #define,
|
|
|
|
|
so behavior does not change.
|
|
|
|
|
|
|
|
|
|
This allows to easily adjust the ZoneHigh size at runtime in a followup
|
|
|
|
|
patch.
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
|
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
|
(cherry picked from commit 3b91e8e9fe93d5ff7edf17f984c401f9e6ba55fe)
|
|
|
|
|
---
|
|
|
|
|
src/malloc.c | 15 ++++++++-------
|
|
|
|
|
1 file changed, 8 insertions(+), 7 deletions(-)
|
|
|
|
|