Re: [Lse-tech] Re: 10.31 second kernel compile

Andi Kleen
2002-03-24T23:42:12Z

> If there was some hack where 4MB pages could be allocated for
> applications like this then I'd be very happy!

You could always run it as a kernel module.
Just need to add schedule points or use a preemptive kernel.
When you allocate data using get_free_pages() it'll return a pointer
in the 2 or 4MB mapped direct mapping of the kernel. It'll only work
when your memory is not fragmented.

-Andi
>