Uttered "chiranjeevi vaka" <cvaka_kernel@yahoo.com>, spoke thus:
> I am trying to get something around 600 to 1000 bytes
> using kmalloc. This one is for some changes in TCP/IP
> stack. I am trying to implement a new kernel data
> structure in tcp layer. So can you suggest me what
> functionality to use to come out of that hanging.
Be sure to use "kmalloc( 1000, GFP_ATOMIC )" if you don't want to block waiting
for the memory. Check for a NULL result, because you might not be able to get
the memory.
-
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/
This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:19 EST