[Click] Memory allocation
Nilay Vaish
nilay at cs.wisc.edu
Mon Feb 7 12:22:02 EST 2011
I am running click at the kernel level. I have a click module, in which I
need to allocate memory. The size of allocation can run in to GBs. I am
currently using new operator to allocate the memory. For small sizes (a
couple of MBs), new works fine. But for larger sizes, a segmentation fault
occurs. Should I use a different function for allocation of memory? I
think kernel modules do not use malloc / new.
Thanks
Nilay
More information about the click
mailing list