kernel-5.15/x86-increase-default-minimum-vmalloc-area-by-64MB-to-192MB.patch
Evgenii Shatokhin e42e28c709 Keep the patches in the kernel project instead of a separate one
Earlier, the patches were kept in the respective branches of a separate
project, https://abf.io/soft/kernel-patches-and-configs. And before that -
in the custom tarballs.

Now all the patches are kept here along with the spec file and are
applied the default way rather than by separate scripts. This should
make the maintenance of the patches as well as the experiments with the
new ones a lot easier.

The previous scheme seemed to offer a bit more flexibility (different
patch sets for different cases) at the cost of maintenance. But as it
turned out,  that flexibility was not worth it and was rarely used,
at most.
2016-07-26 11:24:24 +03:00

28 lines
843 B
Diff

From 2db91ae7c0862bc83c1fe8b8bd14b8de3e2c02b8 Mon Sep 17 00:00:00 2001
From: Anssi Hannula <anssi.hannula@iki.fi>
Date: Sat, 30 Apr 2011 17:09:04 +0300
Subject: [PATCH] x86: increase default minimum vmalloc area by 64MB to 192MB
This fixes issues like https://bugs.mageia.org/show_bug.cgi?id=904.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
---
arch/x86/mm/pgtable_32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/mm/pgtable_32.c b/arch/x86/mm/pgtable_32.c
index cac7184..5801fb7 100644
--- a/arch/x86/mm/pgtable_32.c
+++ b/arch/x86/mm/pgtable_32.c
@@ -19,7 +19,7 @@
#include <asm/tlbflush.h>
#include <asm/io.h>
-unsigned int __VMALLOC_RESERVE = 128 << 20;
+unsigned int __VMALLOC_RESERVE = 192 << 20;
/*
* Associate a virtual page frame with a given physical page frame
--
1.7.3