Re: [patch] tune vmalloc size
From: Ingo Molnar
Date: Wed Sep 15 2004 - 16:53:45 EST
* Andrew Morton <akpm@xxxxxxxx> wrote:
> Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > + if (c == ' ' && !memcmp(from, "vmalloc=", 8))
> > + __VMALLOC_RESERVE = memparse(from+8, &from);
>
> u o akpm an update to kernel-parameters.txt, please.
here you go:
--- Documentation/kernel-parameters.txt.orig
+++ Documentation/kernel-parameters.txt
@@ -453,6 +453,11 @@ running once the system is up.
hd?= [HW] (E)IDE subsystem
hd?lun= See Documentation/ide.txt.
+ highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
+ size of <nn>. This works even on boxes that have no
+ highmem otherwise. This also works to reduce highmem
+ size on bigger boxes.
+
hisax= [HW,ISDN]
See Documentation/isdn/README.HiSax.
@@ -1280,6 +1285,12 @@ running once the system is up.
This is actually a boot loader parameter; the value is
passed to the kernel using a special protocol.
+ vmalloc=nn[KMG] [KNL,BOOT] forces the vmalloc area to have an exact
+ size of <nn>. This can be used to increase the
+ minimum size (128MB on x86). It can also be used to
+ decrease the size and leave more room for directly
+ mapped kernel RAM.
+
vmhalt= [KNL,S390]
vmpoff= [KNL,S390]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/