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.
--0L9oqQy=.JzMs?+l
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iEYEARECAAYFAjyXk6MACgkQWEn3bOOMcuq0ngCghCnT4MYOfg76KfITH40TACBU
19AAn3yb9/3JY9Hm06EU+h6ZUsq8uk3j
=ysPu
-----END PGP SIGNATURE-----
--0L9oqQy=.JzMs?+l--
-
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/