Re: Unbloating the kernel, was: :mem=16MB laptop testing

From: H. Peter Anvin
Date: Wed Oct 15 2003 - 11:54:27 EST


Followup to: <20031015130614.GI765@xxxxxxxxxxxxxx>
By author: William Lee Irwin III <wli@xxxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> Well, unless it's an interrupts-safe critical section that's hurting,
> you could take profiles, provided you have enough RAM for the profile
> buffer (which appears to be large). You could easily do a quick hack
> to steal the profile buffer from e820 regions not otherwise used for
> RAM (i.e. unused because you did mem=) to handle that for a slow cpu
> with more RAM than 8MB.
>

Or just reduce mem= by enough less that you gain the profile buffer
back.

-hpa
--
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
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/