On Mon, Feb 7, 2011 at 9:29 AM, Eddie Kohler <[email protected]> wrote:

> Try CLICK_LALLOC(size) and CLICK_LFREE(pointer, size), which allow larger
> allocations than operator new.  'git grep LALLOC'
>
> But you may just be doomed.  It is not generally possible to allocate GBs
> in
> the kernel as far as I know.
>

I believe that this is correct on x86.  If you are using a 64 bit
architecture, you should be in better shape.  Otherwise you can compile your
kernel with the 2GB split, and you might be able to allocate up to 1GB or
so.

Cliff
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to