Re: [Q] kernel vs user memory (how to get more kernel mem)

Eli Carter (eli.carter@inet.com)
Wed, 10 Oct 2001 15:53:08 -0500


Till Immanuel Patzschke wrote:
>
> Hi,
>
> another simple (?) question - sorry for asking. There seems to be some
> (fixed?) ratio user ./. kernel memory. How do I change the amount of kernel
> memory. I got a reply telling the std ratio is 3:1 - where/how do I change it?
> Thanks for the help,

Very carefully, and with architecture-specific concerns.
There are some #defines you will probably need to study:
PAGE_OFFSET
TASK_SIZE
and probably others...
in at least the ARM architecture, ioremap is also a concern with
VMALLOC_START and VMALLOC_END

Someone else may have a pat answer just to get the job done, though.

HTH,

Eli
--------------------. Real Users find the one combination of bizarre
Eli Carter \ input values that shuts down the system for days.
eli.carter(a)inet.com `-------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/