[Click] Large strings and read_handlers

Eddie Kohler kohler at cs.ucla.edu
Tue Oct 10 10:53:22 EDT 2006


Hi Thomas,

I never responded to this, but I did fix it. :)  Current kernel Click will 
allow very large strings and StringAccums, including for handlers, by 
switching between kmalloc and vmalloc depending on the size of the string.

Eddie


Paine, Thomas Asa wrote:
> 	Has anyone had to accommodate strings larger than was allowed
> via kmalloc?  I have output from element read_handlers that commonly
> produce the out_of_memory condition on String.  Any suggestions on
> getting larger amounts of data out of the system via the handlers?
> 
> Thanks, 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
>    Thomas Paine (paineta at uwec.edu) 
>    University of Wisconsin - Eau Claire 
>    garbage foo(garbage g){return(g);} 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list