diff options
author | Juergen Gross <[email protected]> | 2023-05-02 14:09:24 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-06-01 15:04:33 +0200 |
commit | 961c6a4326643e6588352b7f1f5d77364415386f (patch) | |
tree | 986f83591c9166f0be3cd06851ff65de4ebaade8 /lib/mpi/mpi-sub-ui.c | |
parent | b5d3c72829b1f2b181cd7c5b426f7deaae452045 (diff) |
x86/mtrr: Allocate mtrr_value array dynamically
The mtrr_value[] array is a static variable which is used only in a few
configurations. Consuming 6kB is ridiculous for this case, especially as
the array doesn't need to be that large and it can easily be allocated
dynamically.
Signed-off-by: Juergen Gross <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Tested-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions